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