summaryrefslogtreecommitdiffstats
path: root/lib/private/Repair
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 /lib/private/Repair
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 'lib/private/Repair')
-rw-r--r--lib/private/Repair/RepairMimeTypes.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/private/Repair/RepairMimeTypes.php b/lib/private/Repair/RepairMimeTypes.php
index c384241b5ff..0bf35c1d2ae 100644
--- a/lib/private/Repair/RepairMimeTypes.php
+++ b/lib/private/Repair/RepairMimeTypes.php
@@ -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);