Skip to content

Commit 104b905

Browse files
authoredSep 24, 2024··
Merge pull request #4859 from 2403905/issue-10086
Fixed an issue when the collaboration service registers apps also for binary and unknown mime types

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Bugfix: Fixed the collaboration service registration
2+
3+
Fixed an issue when the collaboration service registers apps also for binary and unknown mime types.
4+
5+
https://github.com/cs3org/reva/pull/4859
6+
https://github.com/owncloud/ocis/issues/10086

‎pkg/mime/mime.go

+1
Original file line numberDiff line numberDiff line change
@@ -1054,6 +1054,7 @@ var mimeTypes = map[string]string{
10541054
"wmz": "application/x-msmetafile",
10551055
"woff": "font/woff",
10561056
"woff2": "font/woff2",
1057+
"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
10571058
"wpd": "application/vnd.wordperfect",
10581059
"wpl": "application/vnd.ms-wpl",
10591060
"wps": "application/vnd.ms-works",

0 commit comments

Comments
 (0)
Please sign in to comment.