Skip to content

Commit 19e2cbb

Browse files
brandonferenstaylorotwell
authored andcommitted
Adding mp3 to mime type property (#20745)
I have a need to test uploading mp3's. The current implementation defaults an mp3 to `application/octet-stream` which won't pass validation. For this type of audio file.
1 parent 5590267 commit 19e2cbb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Illuminate/Http/Testing/MimeType.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,7 @@ class MimeType
600600
'adp' => 'audio/adpcm',
601601
'au' => 'audio/basic',
602602
'mid' => 'audio/midi',
603+
'mp3' => 'audio/mpeg',
603604
'mp4a' => 'audio/mp4',
604605
'mpga' => 'audio/mpeg',
605606
'oga' => 'audio/ogg',

0 commit comments

Comments
 (0)