-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
fix: add mimetype for eml and msg #41803
Conversation
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
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.
🐘
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.
Tested and works, too
Uploaded MSG files are now detected with <d:getcontenttype>application/x-ole-storage</d:getcontenttype>
private function introduceEmlAndMsgFormatType() { | ||
$updatedMimetypes = [ | ||
'eml' => 'message/rfc822', | ||
'msg' => 'application/x-ole-storage', |
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.
yet I'm wondering if it should be application/vnd.ms-outlook
/backport to stable28 |
For nextcloud/files_emailviewer#1
Summary
Add mimetype mapping for eml and msg files
TODO
Checklist