summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2017-06-14 11:02:05 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2017-06-14 11:02:05 +0200
commitc1d9565131e1dbc4b4928fc18d0b15ff9d1137a5 (patch)
treea52bafac85cddaa9526a7988b87c3bf77ea29a17 /resources
parentaddcda9325b74a2c4462b1c5581aaff993bf35b6 (diff)
downloadnextcloud-server-c1d9565131e1dbc4b4928fc18d0b15ff9d1137a5.tar.gz
nextcloud-server-c1d9565131e1dbc4b4928fc18d0b15ff9d1137a5.zip
added kml, kmz, tcx types as well while at it
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'resources')
-rw-r--r--resources/config/mimetypealiases.dist.json3
-rw-r--r--resources/config/mimetypemapping.dist.json3
2 files changed, 6 insertions, 0 deletions
diff --git a/resources/config/mimetypealiases.dist.json b/resources/config/mimetypealiases.dist.json
index fef62ebebdb..daf75453dc8 100644
--- a/resources/config/mimetypealiases.dist.json
+++ b/resources/config/mimetypealiases.dist.json
@@ -26,6 +26,9 @@
"application/rss+xml": "application/xml",
"application/vnd.android.package-archive": "package/x-generic",
"application/vnd.lotus-wordpro": "x-office/document",
+ "application/vnd.garmin.tcx+xml": "location",
+ "application/vnd.google-earth.kml+xml": "location",
+ "application/vnd.google-earth.kmz": "location",
"application/vnd.ms-excel": "x-office/spreadsheet",
"application/vnd.ms-excel.addin.macroEnabled.12": "x-office/spreadsheet",
"application/vnd.ms-excel.sheet.binary.macroEnabled.12": "x-office/spreadsheet",
diff --git a/resources/config/mimetypemapping.dist.json b/resources/config/mimetypemapping.dist.json
index e06631a9ad8..ae90a138a42 100644
--- a/resources/config/mimetypemapping.dist.json
+++ b/resources/config/mimetypemapping.dist.json
@@ -82,6 +82,8 @@
"kdc": ["image/x-dcraw"],
"key": ["application/x-iwork-keynote-sffkey"],
"keynote": ["application/x-iwork-keynote-sffkey"],
+ "kml": ["application/vnd.google-earth.kml+xml"],
+ "kmz": ["application/vnd.google-earth.kmz"],
"kra": ["application/x-krita"],
"ldif": ["text/x-ldif"],
"lwp": ["application/vnd.lotus-wordpro"],
@@ -160,6 +162,7 @@
"tar.bz2": ["application/x-bzip2"],
"tar.gz": ["application/x-compressed"],
"tbz2": ["application/x-bzip2"],
+ "tcx": ["application/vnd.garmin.tcx+xml"],
"tex": ["application/x-tex"],
"tgz": ["application/x-compressed"],
"tiff": ["image/tiff"],