a3aaaa16e9
This PR was squashed before being merged into the 4.3 branch (closes #32986).
Discussion
----------
[Mime] fixed wrong mimetype
| Q | A
| ------------- | ---
| Branch? | 4.3
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #32816
| License | MIT
When creating a datapart from an odt file (and some other extensions), the explode function for the picked mimetype gives a wrong result since there's no `application/` prefix for the first mimetype of this extension.
In this PR, all mimetypes without a prefix are removed.
Commits
-------
|
||
---|---|---|
.. | ||
DependencyInjection | ||
Encoder | ||
Exception | ||
Header | ||
Part | ||
Resources/bin | ||
Tests | ||
.gitignore | ||
Address.php | ||
BodyRendererInterface.php | ||
CHANGELOG.md | ||
CharacterStream.php | ||
composer.json | ||
Email.php | ||
FileBinaryMimeTypeGuesser.php | ||
FileinfoMimeTypeGuesser.php | ||
LICENSE | ||
Message.php | ||
MessageConverter.php | ||
MimeTypeGuesserInterface.php | ||
MimeTypes.php | ||
MimeTypesInterface.php | ||
NamedAddress.php | ||
phpunit.xml.dist | ||
RawMessage.php | ||
README.md |
MIME Component
The MIME component allows manipulating MIME messages.
This Component is experimental. Experimental features are not covered by Symfony's Backward Compatibility Promise.