Skip to content

Commit

Permalink
Merge pull request #4353 from dragonchaser/add-form-mimetype
Browse files Browse the repository at this point in the history
add form mime type
  • Loading branch information
dragonchaser authored Nov 22, 2023
2 parents 6f872b2 + 31a31d0 commit e6cbb12
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 e6cbb12

Please sign in to comment.