added kml, kmz, tcx types as well while at it

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2017-06-14 11:02:05 +02:00
parent addcda9325
commit c1d9565131
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
3 changed files with 10 additions and 1 deletions

View File

@ -131,7 +131,10 @@ class RepairMimeTypes implements IRepairStep {
private function introduceLocationTypes() {
$updatedMimetypes = [
'gpx' => 'application/gpx+xml'
'gpx' => 'application/gpx+xml',
'kml' => 'application/vnd.google-earth.kml+xml',
'kmz' => 'application/vnd.google-earth.kmz',
'tcx' => 'application/vnd.garmin.tcx+xml',
];
$this->updateMimetypes($updatedMimetypes);

View File

@ -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",

View File

@ -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"],