Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 40152c3

Browse files
committed
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 ------- 76a744a [HttpFondation] Change file extension of "audio/mpeg" from "mpga" to "mp3"
2 parents 19668b2 + 76a744a commit 40152c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpFoundation/File/MimeType/MimeTypeExtensionGuesser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ class MimeTypeExtensionGuesser implements ExtensionGuesserInterface
619619
'audio/basic' => 'au',
620620
'audio/midi' => 'mid',
621621
'audio/mp4' => 'm4a',
622-
'audio/mpeg' => 'mpga',
622+
'audio/mpeg' => 'mp3',
623623
'audio/ogg' => 'oga',
624624
'audio/s3m' => 's3m',
625625
'audio/silk' => 'sil',

0 commit comments

Comments
 (0)