Merge branch 'master' into master
[dokuwiki.git] / conf / mime.conf
blob56b72a42cfe140323c726bc89e30a6a46a51a3a3
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 !
6 jpg     image/jpeg
7 jpeg    image/jpeg
8 gif     image/gif
9 png     image/png
10 ico     image/vnd.microsoft.icon
12 mp3     audio/mpeg
13 ogg     audio/ogg
14 wav     audio/wav
15 webm    video/webm
16 ogv     video/ogg
17 mp4     video/mp4
18 vtt     text/vtt
20 tgz     !application/octet-stream
21 tar     !application/x-gtar
22 gz      !application/octet-stream
23 bz2     !application/octet-stream
24 zip     !application/zip
25 rar     !application/rar
26 7z      !application/x-7z-compressed
28 pdf     application/pdf
29 ps      !application/postscript
31 rpm     !application/octet-stream
32 deb     !application/octet-stream
34 doc     !application/msword
35 xls     !application/msexcel
36 ppt     !application/mspowerpoint
37 rtf     !application/msword
39 docx    !application/vnd.openxmlformats-officedocument.wordprocessingml.document
40 xlsx    !application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
41 pptx    !application/vnd.openxmlformats-officedocument.presentationml.presentation
43 sxw     !application/soffice
44 sxc     !application/soffice
45 sxi     !application/soffice
46 sxd     !application/soffice
48 odc     !application/vnd.oasis.opendocument.chart
49 odf     !application/vnd.oasis.opendocument.formula
50 odg     !application/vnd.oasis.opendocument.graphics
51 odi     !application/vnd.oasis.opendocument.image
52 odp     !application/vnd.oasis.opendocument.presentation
53 ods     !application/vnd.oasis.opendocument.spreadsheet
54 odt     !application/vnd.oasis.opendocument.text
56 # You should enable HTML and Text uploads only for restricted Wikis.
57 # Spammers are known to upload spam pages through unprotected Wikis.
58 # Note: Enabling HTML opens Cross Site Scripting vulnerabilities
59 #       through JavaScript. Only enable this with trusted users. You
60 #       need to disable the iexssprotect option additionally to
61 #       adding the mime type here
62 #html    text/html
63 #htm     text/html
64 #txt     text/plain
65 #conf    text/plain
66 #xml     text/xml
67 #csv     text/csv
69 # Also flash may be able to execute arbitrary scripts in the website's
70 # context
71 #swf     application/x-shockwave-flash