2015-07-08 14:18:58 +03:00
|
|
|
{
|
2017-02-10 16:25:25 +03:00
|
|
|
"_comment" : "Array mapping file extensions to mimetypes (in alphabetical order)",
|
2015-07-08 14:18:58 +03:00
|
|
|
"_comment2": "The first index in the mime type array is the assumed correct mimetype",
|
2017-02-10 16:25:25 +03:00
|
|
|
"_comment3": "and the second (if present) is a secure alternative",
|
2015-07-08 14:18:58 +03:00
|
|
|
|
2016-08-19 10:55:38 +03:00
|
|
|
"_comment4": "Any changes you make here will be overwritten on an update of Nextcloud",
|
|
|
|
"_comment5": "Put any custom mappings in a new file mimetypemapping.json in the config/ folder of Nextcloud",
|
2015-07-08 16:49:53 +03:00
|
|
|
|
2015-07-08 14:18:58 +03:00
|
|
|
|
|
|
|
"3gp": ["video/3gpp"],
|
|
|
|
"7z": ["application/x-7z-compressed"],
|
|
|
|
"accdb": ["application/msaccess"],
|
|
|
|
"ai": ["application/illustrator"],
|
|
|
|
"apk": ["application/vnd.android.package-archive"],
|
|
|
|
"arw": ["image/x-dcraw"],
|
|
|
|
"avi": ["video/x-msvideo"],
|
|
|
|
"bash": ["text/x-shellscript"],
|
2017-02-10 16:25:25 +03:00
|
|
|
"bat": ["application/x-msdos-program"],
|
2015-07-08 14:18:58 +03:00
|
|
|
"blend": ["application/x-blender"],
|
|
|
|
"bin": ["application/x-bin"],
|
|
|
|
"bmp": ["image/bmp"],
|
|
|
|
"bpg": ["image/bpg"],
|
2016-03-04 22:09:52 +03:00
|
|
|
"bz2": ["application/x-bzip2"],
|
2018-05-16 18:12:21 +03:00
|
|
|
"cb7": ["application/comicbook+7z"],
|
|
|
|
"cba": ["application/comicbook+ace"],
|
|
|
|
"cbr": ["application/comicbook+rar"],
|
|
|
|
"cbt": ["application/comicbook+tar"],
|
|
|
|
"cbtc": ["application/comicbook+truecrypt"],
|
|
|
|
"cbz": ["application/comicbook+zip"],
|
2015-07-08 14:18:58 +03:00
|
|
|
"cc": ["text/x-c"],
|
|
|
|
"cdr": ["application/coreldraw"],
|
2015-09-22 15:34:07 +03:00
|
|
|
"class": ["application/java"],
|
2017-02-10 16:25:25 +03:00
|
|
|
"cmd": ["application/cmd"],
|
2015-07-08 14:18:58 +03:00
|
|
|
"cnf": ["text/plain"],
|
|
|
|
"conf": ["text/plain"],
|
|
|
|
"cpp": ["text/x-c++src"],
|
|
|
|
"cr2": ["image/x-dcraw"],
|
|
|
|
"css": ["text/css"],
|
|
|
|
"csv": ["text/csv"],
|
|
|
|
"cvbdl": ["application/x-cbr"],
|
|
|
|
"c": ["text/x-c"],
|
2015-09-22 18:56:48 +03:00
|
|
|
"c++": ["text/x-c++src"],
|
2015-07-08 14:18:58 +03:00
|
|
|
"dcr": ["image/x-dcraw"],
|
|
|
|
"deb": ["application/x-deb"],
|
|
|
|
"dng": ["image/x-dcraw"],
|
|
|
|
"doc": ["application/msword"],
|
|
|
|
"docm": ["application/vnd.ms-word.document.macroEnabled.12"],
|
|
|
|
"docx": ["application/vnd.openxmlformats-officedocument.wordprocessingml.document"],
|
|
|
|
"dot": ["application/msword"],
|
|
|
|
"dotx": ["application/vnd.openxmlformats-officedocument.wordprocessingml.template"],
|
|
|
|
"dv": ["video/dv"],
|
|
|
|
"eot": ["application/vnd.ms-fontobject"],
|
|
|
|
"epub": ["application/epub+zip"],
|
|
|
|
"eps": ["application/postscript"],
|
|
|
|
"erf": ["image/x-dcraw"],
|
|
|
|
"exe": ["application/x-ms-dos-executable"],
|
2016-07-03 12:13:08 +03:00
|
|
|
"fb2": ["application/x-fictionbook+xml", "text/plain"],
|
2015-07-08 14:18:58 +03:00
|
|
|
"flac": ["audio/flac"],
|
|
|
|
"flv": ["video/x-flv"],
|
|
|
|
"gif": ["image/gif"],
|
2017-06-14 01:26:01 +03:00
|
|
|
"gpx": ["application/gpx+xml"],
|
2015-07-08 14:18:58 +03:00
|
|
|
"gz": ["application/x-gzip"],
|
|
|
|
"gzip": ["application/x-gzip"],
|
|
|
|
"h": ["text/x-h"],
|
2018-08-03 16:33:58 +03:00
|
|
|
"heic": ["image/heic"],
|
|
|
|
"heif": ["image/heif"],
|
2015-07-08 14:18:58 +03:00
|
|
|
"hh": ["text/x-h"],
|
2015-09-22 15:34:07 +03:00
|
|
|
"hpp": ["text/x-h"],
|
2017-02-10 16:25:25 +03:00
|
|
|
"htaccess": ["text/plain"],
|
2015-07-08 14:18:58 +03:00
|
|
|
"html": ["text/html", "text/plain"],
|
|
|
|
"htm": ["text/html", "text/plain"],
|
|
|
|
"ical": ["text/calendar"],
|
|
|
|
"ics": ["text/calendar"],
|
|
|
|
"iiq": ["image/x-dcraw"],
|
|
|
|
"impress": ["text/impress"],
|
2015-09-22 15:34:07 +03:00
|
|
|
"java": ["text/x-java-source"],
|
2017-04-23 17:40:42 +03:00
|
|
|
"jp2": ["image/jp2"],
|
2015-07-08 14:18:58 +03:00
|
|
|
"jpeg": ["image/jpeg"],
|
|
|
|
"jpg": ["image/jpeg"],
|
|
|
|
"jps": ["image/jpeg"],
|
|
|
|
"js": ["application/javascript", "text/plain"],
|
|
|
|
"json": ["application/json", "text/plain"],
|
|
|
|
"k25": ["image/x-dcraw"],
|
2019-12-08 18:43:39 +03:00
|
|
|
"kdbx": ["application/x-kdbx"],
|
2015-07-08 14:18:58 +03:00
|
|
|
"kdc": ["image/x-dcraw"],
|
|
|
|
"key": ["application/x-iwork-keynote-sffkey"],
|
|
|
|
"keynote": ["application/x-iwork-keynote-sffkey"],
|
2020-04-14 20:19:58 +03:00
|
|
|
"km": ["application/km"],
|
2017-06-14 12:02:05 +03:00
|
|
|
"kml": ["application/vnd.google-earth.kml+xml"],
|
|
|
|
"kmz": ["application/vnd.google-earth.kmz"],
|
2015-07-08 14:18:58 +03:00
|
|
|
"kra": ["application/x-krita"],
|
2017-01-06 14:25:16 +03:00
|
|
|
"ldif": ["text/x-ldif"],
|
2016-01-18 02:38:53 +03:00
|
|
|
"lwp": ["application/vnd.lotus-wordpro"],
|
2015-07-08 14:18:58 +03:00
|
|
|
"m2t": ["video/mp2t"],
|
2017-08-31 18:48:49 +03:00
|
|
|
"m3u": ["audio/mpegurl"],
|
|
|
|
"m3u8": ["audio/mpegurl"],
|
2016-04-14 19:25:15 +03:00
|
|
|
"m4a": ["audio/mp4"],
|
|
|
|
"m4b": ["audio/m4b"],
|
2015-07-08 14:18:58 +03:00
|
|
|
"m4v": ["video/mp4"],
|
|
|
|
"markdown": ["text/markdown"],
|
|
|
|
"mdown": ["text/markdown"],
|
|
|
|
"md": ["text/markdown"],
|
|
|
|
"mdb": ["application/msaccess"],
|
|
|
|
"mdwn": ["text/markdown"],
|
|
|
|
"mkd": ["text/markdown"],
|
|
|
|
"mef": ["image/x-dcraw"],
|
|
|
|
"mkv": ["video/x-matroska"],
|
2020-04-14 20:19:58 +03:00
|
|
|
"mm": ["application/x-freemind"],
|
2015-07-08 14:18:58 +03:00
|
|
|
"mobi": ["application/x-mobipocket-ebook"],
|
|
|
|
"mov": ["video/quicktime"],
|
|
|
|
"mp3": ["audio/mpeg"],
|
|
|
|
"mp4": ["video/mp4"],
|
|
|
|
"mpeg": ["video/mpeg"],
|
|
|
|
"mpg": ["video/mpeg"],
|
|
|
|
"mpo": ["image/jpeg"],
|
|
|
|
"msi": ["application/x-msi"],
|
|
|
|
"mts": ["video/MP2T"],
|
|
|
|
"mt2s": ["video/MP2T"],
|
|
|
|
"nef": ["image/x-dcraw"],
|
|
|
|
"numbers": ["application/x-iwork-numbers-sffnumbers"],
|
|
|
|
"odf": ["application/vnd.oasis.opendocument.formula"],
|
|
|
|
"odg": ["application/vnd.oasis.opendocument.graphics"],
|
|
|
|
"odp": ["application/vnd.oasis.opendocument.presentation"],
|
|
|
|
"ods": ["application/vnd.oasis.opendocument.spreadsheet"],
|
|
|
|
"odt": ["application/vnd.oasis.opendocument.text"],
|
2020-09-03 09:53:23 +03:00
|
|
|
"ott": ["application/vnd.oasis.opendocument.text-template"],
|
|
|
|
"ots": ["application/vnd.oasis.opendocument.spreadsheet-template"],
|
|
|
|
"otp": ["application/vnd.oasis.opendocument.presentation-template"],
|
|
|
|
"otg": ["application/vnd.oasis.opendocument.graphics-template"],
|
2015-07-08 14:18:58 +03:00
|
|
|
"oga": ["audio/ogg"],
|
|
|
|
"ogg": ["audio/ogg"],
|
|
|
|
"ogv": ["video/ogg"],
|
2016-01-18 02:38:53 +03:00
|
|
|
"one": ["application/msonenote"],
|
2017-08-31 17:20:21 +03:00
|
|
|
"opus": ["audio/ogg"],
|
2015-07-08 14:18:58 +03:00
|
|
|
"orf": ["image/x-dcraw"],
|
|
|
|
"otf": ["application/font-sfnt"],
|
|
|
|
"pages": ["application/x-iwork-pages-sffpages"],
|
|
|
|
"pdf": ["application/pdf"],
|
|
|
|
"pfb": ["application/x-font"],
|
|
|
|
"pef": ["image/x-dcraw"],
|
2020-09-07 17:43:00 +03:00
|
|
|
"php": ["application/x-php", "text/x-php"],
|
2015-07-08 14:18:58 +03:00
|
|
|
"pl": ["application/x-perl"],
|
2017-08-31 18:48:49 +03:00
|
|
|
"pls": ["audio/x-scpls"],
|
2015-07-08 14:18:58 +03:00
|
|
|
"png": ["image/png"],
|
|
|
|
"pot": ["application/vnd.ms-powerpoint"],
|
|
|
|
"potm": ["application/vnd.ms-powerpoint.template.macroEnabled.12"],
|
|
|
|
"potx": ["application/vnd.openxmlformats-officedocument.presentationml.template"],
|
|
|
|
"ppa": ["application/vnd.ms-powerpoint"],
|
|
|
|
"ppam": ["application/vnd.ms-powerpoint.addin.macroEnabled.12"],
|
|
|
|
"pps": ["application/vnd.ms-powerpoint"],
|
|
|
|
"ppsm": ["application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],
|
|
|
|
"ppsx": ["application/vnd.openxmlformats-officedocument.presentationml.slideshow"],
|
|
|
|
"ppt": ["application/vnd.ms-powerpoint"],
|
|
|
|
"pptm": ["application/vnd.ms-powerpoint.presentation.macroEnabled.12"],
|
|
|
|
"pptx": ["application/vnd.openxmlformats-officedocument.presentationml.presentation"],
|
|
|
|
"ps": ["application/postscript"],
|
|
|
|
"psd": ["application/x-photoshop"],
|
|
|
|
"py": ["text/x-python"],
|
|
|
|
"raf": ["image/x-dcraw"],
|
|
|
|
"rar": ["application/x-rar-compressed"],
|
|
|
|
"reveal": ["text/reveal"],
|
2015-09-22 15:34:07 +03:00
|
|
|
"rss": ["application/rss+xml"],
|
|
|
|
"rtf": ["text/rtf"],
|
2015-07-08 14:18:58 +03:00
|
|
|
"rw2": ["image/x-dcraw"],
|
2017-01-06 14:25:16 +03:00
|
|
|
"schema": ["text/plain"],
|
2015-07-08 14:18:58 +03:00
|
|
|
"sgf": ["application/sgf"],
|
|
|
|
"sh-lib": ["text/x-shellscript"],
|
|
|
|
"sh": ["text/x-shellscript"],
|
|
|
|
"srf": ["image/x-dcraw"],
|
|
|
|
"sr2": ["image/x-dcraw"],
|
|
|
|
"svg": ["image/svg+xml", "text/plain"],
|
|
|
|
"swf": ["application/x-shockwave-flash", "application/octet-stream"],
|
|
|
|
"tar": ["application/x-tar"],
|
2016-03-04 22:09:52 +03:00
|
|
|
"tar.bz2": ["application/x-bzip2"],
|
2015-07-08 14:18:58 +03:00
|
|
|
"tar.gz": ["application/x-compressed"],
|
2016-03-04 22:09:52 +03:00
|
|
|
"tbz2": ["application/x-bzip2"],
|
2017-06-14 12:02:05 +03:00
|
|
|
"tcx": ["application/vnd.garmin.tcx+xml"],
|
2015-07-08 14:18:58 +03:00
|
|
|
"tex": ["application/x-tex"],
|
|
|
|
"tgz": ["application/x-compressed"],
|
|
|
|
"tiff": ["image/tiff"],
|
|
|
|
"tif": ["image/tiff"],
|
|
|
|
"ttf": ["application/font-sfnt"],
|
|
|
|
"txt": ["text/plain"],
|
|
|
|
"vcard": ["text/vcard"],
|
|
|
|
"vcf": ["text/vcard"],
|
|
|
|
"vob": ["video/dvd"],
|
2016-01-18 02:38:53 +03:00
|
|
|
"vsd": ["application/vnd.visio"],
|
2018-07-06 16:16:21 +03:00
|
|
|
"vsdm": ["application/vnd.ms-visio.drawing.macroEnabled.12"],
|
|
|
|
"vsdx": ["application/vnd.ms-visio.drawing"],
|
|
|
|
"vssm": ["application/vnd.ms-visio.stencil.macroEnabled.12"],
|
|
|
|
"vssx": ["application/vnd.ms-visio.stencil"],
|
|
|
|
"vstm": ["application/vnd.ms-visio.template.macroEnabled.12"],
|
|
|
|
"vstx": ["application/vnd.ms-visio.template"],
|
2015-07-08 14:18:58 +03:00
|
|
|
"wav": ["audio/wav"],
|
|
|
|
"webm": ["video/webm"],
|
2017-04-23 17:40:42 +03:00
|
|
|
"webp": ["image/webp"],
|
2015-07-08 14:18:58 +03:00
|
|
|
"woff": ["application/font-woff"],
|
2016-01-18 02:38:53 +03:00
|
|
|
"wpd": ["application/vnd.wordperfect"],
|
2015-07-08 14:18:58 +03:00
|
|
|
"wmv": ["video/x-ms-wmv"],
|
|
|
|
"xcf": ["application/x-gimp"],
|
|
|
|
"xla": ["application/vnd.ms-excel"],
|
|
|
|
"xlam": ["application/vnd.ms-excel.addin.macroEnabled.12"],
|
|
|
|
"xls": ["application/vnd.ms-excel"],
|
|
|
|
"xlsb": ["application/vnd.ms-excel.sheet.binary.macroEnabled.12"],
|
|
|
|
"xlsm": ["application/vnd.ms-excel.sheet.macroEnabled.12"],
|
|
|
|
"xlsx": ["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],
|
|
|
|
"xlt": ["application/vnd.ms-excel"],
|
|
|
|
"xltm": ["application/vnd.ms-excel.template.macroEnabled.12"],
|
|
|
|
"xltx": ["application/vnd.openxmlformats-officedocument.spreadsheetml.template"],
|
2020-04-14 20:19:58 +03:00
|
|
|
"xmind": ["application/vnd.xmind.workbook"],
|
2015-07-08 14:18:58 +03:00
|
|
|
"xml": ["application/xml", "text/plain"],
|
|
|
|
"xrf": ["image/x-dcraw"],
|
|
|
|
"yaml": ["application/yaml", "text/plain"],
|
|
|
|
"yml": ["application/yaml", "text/plain"],
|
2017-08-31 17:20:21 +03:00
|
|
|
"zip": ["application/zip"],
|
|
|
|
"url": ["application/internet-shortcut"],
|
|
|
|
"webloc": ["application/internet-shortcut"]
|
2015-07-08 14:18:58 +03:00
|
|
|
}
|