Skip to content

Commit

Permalink
Merge pull request #4859 from 2403905/issue-10086
Browse files Browse the repository at this point in the history
Fixed an issue when the collaboration service registers apps also for binary and unknown mime types
  • Loading branch information
2403905 authored Sep 24, 2024
2 parents 6b6d69a + e416329 commit 104b905
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/4859
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 104b905

Please sign in to comment.