Skip to content

Commit

Permalink
add form mime type
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Richter <crichter@owncloud.com>
  • Loading branch information
dragonchaser committed Nov 21, 2023
1 parent 6f872b2 commit 31a31d0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions changelog/unreleased/add-missing-form-mime.md
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions pkg/mime/mime.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 31a31d0

Please sign in to comment.