Skip to content

Commit

Permalink
feature #34119 [Mime] Added MimeType for "msg" (LIBERT Jérémy)
Browse files Browse the repository at this point in the history
This PR was submitted for the 4.3 branch but it was merged into the 5.1-dev branch instead (closes #34119).

Discussion
----------

[Mime] Added MimeType for "msg"

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

Commits
-------

d6ccd4c Added MimeType for ".msg"
  • Loading branch information
fabpot committed Nov 30, 2019
2 parents 04d6d8d + d6ccd4c commit 39ba678
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Symfony/Component/Mime/MimeTypes.php
Expand Up @@ -526,6 +526,7 @@ public function guessMimeType(string $path): ?string
'application/vnd.ms-ims' => ['ims'],
'application/vnd.ms-lrm' => ['lrm'],
'application/vnd.ms-officetheme' => ['thmx'],
'application/vnd.ms-outlook' => ['msg'],
'application/vnd.ms-pki.seccat' => ['cat'],
'application/vnd.ms-pki.stl' => ['stl'],
'application/vnd.ms-powerpoint' => ['ppt', 'pps', 'pot', 'ppz'],
Expand Down Expand Up @@ -2374,6 +2375,7 @@ public function guessMimeType(string $path): ?string
'mseed' => ['application/vnd.fdsn.mseed'],
'mseq' => ['application/vnd.mseq'],
'msf' => ['application/vnd.epson.msf'],
'msg' => ['application/vnd.ms-outlook'],
'msh' => ['model/mesh'],
'msi' => ['application/x-msdownload', 'application/x-msi'],
'msl' => ['application/vnd.mobius.msl'],
Expand Down

0 comments on commit 39ba678

Please sign in to comment.