diff options
author | Joas Schilling <coding@schilljs.com> | 2018-07-06 15:16:21 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-07-06 15:16:21 +0200 |
commit | 5541d3dd84f7dab0262fb597649cdbca342635d7 (patch) | |
tree | 74ba763c56fc604fd309833ff40bf37703d03025 /resources | |
parent | 422c805e260f3187fffe7957b2d2f637e20812e3 (diff) | |
download | nextcloud-server-5541d3dd84f7dab0262fb597649cdbca342635d7.tar.gz nextcloud-server-5541d3dd84f7dab0262fb597649cdbca342635d7.zip |
Add visio mimetypes
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'resources')
-rw-r--r-- | resources/config/mimetypealiases.dist.json | 6 | ||||
-rw-r--r-- | resources/config/mimetypemapping.dist.json | 6 |
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"], |