You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 types
0 commit comments