bug #37389 [HttpFondation] Change file extension of "audio/mpeg" from "mpga" to "mp3" (YaFou)
This PR was merged into the 3.4 branch.
Discussion
----------
[HttpFondation] Change file extension of "audio/mpeg" from "mpga" to "mp3"
| Q | A
| ------------- | ---
| Branch? | 3.4 <!-- see below -->
| Bug fix? | yes
| New feature? | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets | Fix #36068 <!-- prefix each issue number with "Fix #", if any -->
| License | MIT
| Doc PR | no
<!--
Replace this notice by a short README for your feature/bugfix. This will help people
understand your PR and can be used as a start for the documentation.
Additionally (see https://symfony.com/releases):
- Always add tests and ensure they pass.
- Never break backward compatibility (see https://symfony.com/bc).
- Bug fixes must be submitted against the lowest maintained branch where they apply
(lowest branches are regularly merged to upper ones so they get the fixes too.)
- Features and deprecations must be submitted against branch master.
-->
`.mp3` files are more common than `.mpga` files.
Commits
-------
76a744ad91
[HttpFondation] Change file extension of "audio/mpeg" from "mpga" to "mp3"
This commit is contained in:
commit
40152c37ce
@ -619,7 +619,7 @@ class MimeTypeExtensionGuesser implements ExtensionGuesserInterface
|
|||||||
'audio/basic' => 'au',
|
'audio/basic' => 'au',
|
||||||
'audio/midi' => 'mid',
|
'audio/midi' => 'mid',
|
||||||
'audio/mp4' => 'm4a',
|
'audio/mp4' => 'm4a',
|
||||||
'audio/mpeg' => 'mpga',
|
'audio/mpeg' => 'mp3',
|
||||||
'audio/ogg' => 'oga',
|
'audio/ogg' => 'oga',
|
||||||
'audio/s3m' => 's3m',
|
'audio/s3m' => 's3m',
|
||||||
'audio/silk' => 'sil',
|
'audio/silk' => 'sil',
|
||||||
|
Reference in New Issue
Block a user