Skip to content

Commit d0da74e

Browse files
committed
minor symfony#21329 Added WebVTT to the list of MIME type extensions (javiereguiluz)
This PR was merged into the 3.3-dev branch. Discussion ---------- Added WebVTT to the list of MIME type extensions | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | symfony#20454 | License | MIT | Doc PR | - This is not included in the Apache list of MIME types ... but the related standard looks pretty serious: * https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API * https://w3c.github.io/webvtt/ Commits ------- 9e2a111 Added WebVTT to the list of MIME type extensions
2 parents 5921530 + 9e2a111 commit d0da74e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -744,6 +744,7 @@ class MimeTypeExtensionGuesser implements ExtensionGuesserInterface
744744
'text/vnd.sun.j2me.app-descriptor' => 'jad',
745745
'text/vnd.wap.wml' => 'wml',
746746
'text/vnd.wap.wmlscript' => 'wmls',
747+
'text/vtt' => 'vtt',
747748
'text/x-asm' => 's',
748749
'text/x-c' => 'c',
749750
'text/x-fortran' => 'f',

0 commit comments

Comments
 (0)