Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-07-06 16:16:21 +0300
committerJoas Schilling <coding@schilljs.com>2018-07-06 16:16:21 +0300
commit5541d3dd84f7dab0262fb597649cdbca342635d7 (patch)
tree74ba763c56fc604fd309833ff40bf37703d03025 /resources
parent422c805e260f3187fffe7957b2d2f637e20812e3 (diff)
Add visio mimetypes
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'resources')
-rw-r--r--resources/config/mimetypealiases.dist.json6
-rw-r--r--resources/config/mimetypemapping.dist.json6
2 files changed, 12 insertions, 0 deletions
diff --git a/resources/config/mimetypealiases.dist.json b/resources/config/mimetypealiases.dist.json
index 2c2ea28059c..eea7081dd71 100644
--- a/resources/config/mimetypealiases.dist.json
+++ b/resources/config/mimetypealiases.dist.json
@@ -40,6 +40,12 @@
"application/vnd.ms-powerpoint.presentation.macroEnabled.12": "x-office/presentation",
"application/vnd.ms-powerpoint.slideshow.macroEnabled.12": "x-office/presentation",
"application/vnd.ms-powerpoint.template.macroEnabled.12": "x-office/presentation",
+ "application/vnd.ms-visio.drawing.macroEnabled.12": "application/vnd.visio",
+ "application/vnd.ms-visio.drawing": "application/vnd.visio",
+ "application/vnd.ms-visio.stencil.macroEnabled.12": "application/vnd.visio",
+ "application/vnd.ms-visio.stencil": "application/vnd.visio",
+ "application/vnd.ms-visio.template.macroEnabled.12": "application/vnd.visio",
+ "application/vnd.ms-visio.template": "application/vnd.visio",
"application/vnd.ms-word.document.macroEnabled.12": "x-office/document",
"application/vnd.ms-word.template.macroEnabled.12": "x-office/document",
"application/vnd.oasis.opendocument.presentation": "x-office/presentation",
diff --git a/resources/config/mimetypemapping.dist.json b/resources/config/mimetypemapping.dist.json
index ef3de4d75dc..2f16e45a4a8 100644
--- a/resources/config/mimetypemapping.dist.json
+++ b/resources/config/mimetypemapping.dist.json
@@ -176,6 +176,12 @@
"vcf": ["text/vcard"],
"vob": ["video/dvd"],
"vsd": ["application/vnd.visio"],
+ "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"],
"wav": ["audio/wav"],
"webm": ["video/webm"],
"webp": ["image/webp"],