Skip to content

Commit

Permalink
bug #37389 [HttpFondation] Change file extension of "audio/mpeg" from…
Browse files Browse the repository at this point in the history
… "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
-------

76a744a [HttpFondation] Change file extension of "audio/mpeg" from "mpga" to "mp3"
  • Loading branch information
fabpot committed Jun 24, 2020
2 parents 19668b2 + 76a744a commit 40152c3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -619,7 +619,7 @@ class MimeTypeExtensionGuesser implements ExtensionGuesserInterface
'audio/basic' => 'au',
'audio/midi' => 'mid',
'audio/mp4' => 'm4a',
'audio/mpeg' => 'mpga',
'audio/mpeg' => 'mp3',
'audio/ogg' => 'oga',
'audio/s3m' => 's3m',
'audio/silk' => 'sil',
Expand Down

0 comments on commit 40152c3

Please sign in to comment.