diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2023-11-29 12:27:55 +0100 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2023-11-29 12:27:55 +0100 |
commit | 9f76600c884cd2461620d8b82be2f5d959dc6292 (patch) | |
tree | 51286b6bb8fef479473711355fdde18796418fb3 /lib | |
parent | 6e3781b48632cdbe346a3d8627c54375b7265e3e (diff) | |
download | nextcloud-server-9f76600c884cd2461620d8b82be2f5d959dc6292.tar.gz nextcloud-server-9f76600c884cd2461620d8b82be2f5d959dc6292.zip |
fix: change mime type for msg file
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Repair/RepairMimeTypes.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Repair/RepairMimeTypes.php b/lib/private/Repair/RepairMimeTypes.php index 0d9e744b213..4d15dda45dd 100644 --- a/lib/private/Repair/RepairMimeTypes.php +++ b/lib/private/Repair/RepairMimeTypes.php @@ -240,7 +240,7 @@ class RepairMimeTypes implements IRepairStep { private function introduceEmlAndMsgFormatType() { $updatedMimetypes = [ 'eml' => 'message/rfc822', - 'msg' => 'application/x-ole-storage', + 'msg' => 'application/vnd.ms-outlook', ]; return $this->updateMimetypes($updatedMimetypes); @@ -307,7 +307,7 @@ class RepairMimeTypes implements IRepairStep { $out->info('Fixed Enhanced Metafile Format mime types'); } - if (version_compare($ocVersionFromBeforeUpdate, '29.0.0.1', '<') && $this->introduceEmlAndMsgFormatType()) { + if (version_compare($ocVersionFromBeforeUpdate, '29.0.0.2', '<') && $this->introduceEmlAndMsgFormatType()) { $out->info('Fixed eml and msg mime type'); } } |