Commit 9f81d93
committed
minor symfony#58807 [Mime] Update mime types (smnandre)
This PR was squashed before being merged into the 7.2 branch.
Discussion
----------
[Mime] Update mime types
| Q | A
| ------------- | ---
| Branch? | 7.2
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Issues | Fix
| License | MIT
I had to update the prefered extensions map in `src/Symfony/Component/Mime/Resources/bin/update_mime_types.php`
```diff
- 'yaml' => ['application/yaml'],
- 'yml' => ['application/yaml'],
+ 'yml' => ['application/yaml'],
+ 'yaml' => ['application/yaml'],
```
This is the only way to make
* 'application/yaml' first type for 'yaml' extension
* 'application/yaml' first type for 'yml' extension
* 'yaml' **first** extension for 'application/yaml' type
* 'yml' second extension for 'application/yaml' type
---
If it's still possible before 7.2 ?
(last one was 8 months ago)
Commits
-------
1e8a2e0 [Mime] Update mime typesFile tree
2 files changed
+140
-51
lines changed- src/Symfony/Component/Mime
- Resources/bin
2 files changed
+140
-51
lines changed
0 commit comments