Skip to content

Commit

Permalink
Fixed an issue when the collaboration service registers apps also for…
Browse files Browse the repository at this point in the history
… binary and unknown mime types.
  • Loading branch information
2403905 committed Sep 23, 2024
1 parent 4849435 commit c63ceba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions changelog/unreleased/fix-registers-app.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Bugfix: Fixed the collaboration service registration

Fixed an issue when the collaboration service registers apps also for binary and unknown mime types.

https://github.com/cs3org/reva/pull/4858
https://github.com/owncloud/ocis/issues/10086
1 change: 1 addition & 0 deletions pkg/mime/mime.go
Original file line number Diff line number Diff line change
Expand Up @@ -1054,6 +1054,7 @@ var mimeTypes = map[string]string{
"wmz": "application/x-msmetafile",
"woff": "font/woff",
"woff2": "font/woff2",
"wopitest": "text/plain", // The dummy extension for the WOPI validator https://learn.microsoft.com/en-us/microsoft-365/cloud-storage-partner-program/online/build-test-ship/validator
"wpd": "application/vnd.wordperfect",
"wpl": "application/vnd.ms-wpl",
"wps": "application/vnd.ms-works",
Expand Down

0 comments on commit c63ceba

Please sign in to comment.