1# Allowed uploadable file extensions and mimetypes are defined here. 2# To extend this file it is recommended to create a mime.local.conf 3# file. Mimetypes that should be downloadable and not be opened in the 4# should be prefixed with a ! 5 6jpg image/jpeg 7jpeg image/jpeg 8gif image/gif 9png image/png 10tgz !application/octet-stream 11tar !application/x-gtar 12gz !application/octet-stream 13bz2 !application/octet-stream 14zip !application/zip 15rar !application/rar 16pdf application/pdf 17ps !application/postscript 18doc !application/msword 19xls !application/msexcel 20ppt !application/mspowerpoint 21rtf !application/msword 22swf application/x-shockwave-flash 23 24rpm !application/octet-stream 25deb !application/octet-stream 26 27sxw !application/soffice 28sxc !application/soffice 29sxi !application/soffice 30sxd !application/soffice 31 32odc !application/vnd.oasis.opendocument.chart 33odf !application/vnd.oasis.opendocument.formula 34odg !application/vnd.oasis.opendocument.graphics 35odi !application/vnd.oasis.opendocument.image 36odp !application/vnd.oasis.opendocument.presentation 37ods !application/vnd.oasis.opendocument.spreadsheet 38odt !application/vnd.oasis.opendocument.text 39 40# You should enable HTML and Text uploads only for restricted Wikis. 41# Spammers are known to upload spam pages through unprotected Wikis. 42# Note: Enabling HTML opens Cross Site Scripting vulnerabilities 43# through JavaScript. Only enable this with trusted users. You 44# need to disable the iexssprotect option additionally to 45# adding the mime type here 46#html text/html 47#htm text/html 48#txt text/plain 49#conf text/plain 50#xml text/xml 51 52 53