From 31a31d0ab7387bb3fbd288d3ba4735bff2eaf80c Mon Sep 17 00:00:00 2001 From: Christian Richter Date: Tue, 21 Nov 2023 16:23:50 +0100 Subject: [PATCH] add form mime type Signed-off-by: Christian Richter --- changelog/unreleased/add-missing-form-mime.md | 6 ++++++ pkg/mime/mime.go | 1 + 2 files changed, 7 insertions(+) create mode 100644 changelog/unreleased/add-missing-form-mime.md diff --git a/changelog/unreleased/add-missing-form-mime.md b/changelog/unreleased/add-missing-form-mime.md new file mode 100644 index 0000000000..e168065441 --- /dev/null +++ b/changelog/unreleased/add-missing-form-mime.md @@ -0,0 +1,6 @@ +Enhancement: Add support for .docxf files + +We have added the missing .docxf mime-type to the list of supported mime-types. + +https://github.com/cs3org/reva/pull/4353 +https://github.com/owncloud/ocis/issues/6989 diff --git a/pkg/mime/mime.go b/pkg/mime/mime.go index 9102491710..d2678b014b 100644 --- a/pkg/mime/mime.go +++ b/pkg/mime/mime.go @@ -215,6 +215,7 @@ var mimeTypes = map[string]string{ "doc": "application/msword", "docm": "application/vnd.ms-word.document.macroenabled.12", "docx": "application/vnd.openxmlformats-officedocument.wordprocessingml.document", + "docxf": "application/vnd.openxmlformats-officedocument.wordprocessingml.form", "dot": "application/msword", "dotm": "application/vnd.ms-word.template.macroenabled.12", "dotx": "application/vnd.openxmlformats-officedocument.wordprocessingml.template",