-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enforce open url files with system actions #10004
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
@@ -276,6 +276,11 @@ export const useFileActions = ({ store }: { store?: Store<any> } = {}) => { | |||
return [] | |||
} | |||
|
|||
// enforce open url files with system actions | |||
if (options.resources[0].extension === 'url') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.url files will have 'application/ocet-stream' as mimetype. Which is assigned to Collabora and OnlyOffice, therefore url files will be opened with respective editors.
We might fix it in the frontend with this code or need to ask OCIS to return another mime-type like
text/url
Backend solution would be here:
cs3org/reva#4344
Kudos, SonarCloud Quality Gate passed! |
Alternative backend solution: cs3org/reva#4344 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer the backend solution, but if they can't/don't want to do it, I'm fine with this as welll
Same here. If ocis/reva PRs are merged, I'll close this. |
Closed in favor of cs3org/reva#4344 |
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: