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