@@ -20,11 +20,11 @@ class MimeTypeExtensionGuesser implements ExtensionGuesserInterface
20
20
* A map of mime types and their default extensions.
21
21
*
22
22
* This list has been placed under the public domain by the Apache HTTPD project.
23
- * This list has been updated from upstream on 2013-04-23 .
23
+ * This list has been updated from upstream on 2019-01-14 .
24
24
*
25
- * @see http ://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
25
+ * @see https ://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
26
26
*/
27
- protected $ defaultExtensions = array (
27
+ protected $ defaultExtensions = [
28
28
'application/andrew-inset ' => 'ez ' ,
29
29
'application/applixware ' => 'aw ' ,
30
30
'application/atom+xml ' => 'atom ' ,
@@ -618,7 +618,7 @@ class MimeTypeExtensionGuesser implements ExtensionGuesserInterface
618
618
'audio/adpcm ' => 'adp ' ,
619
619
'audio/basic ' => 'au ' ,
620
620
'audio/midi ' => 'mid ' ,
621
- 'audio/mp4 ' => 'mp4a ' ,
621
+ 'audio/mp4 ' => 'm4a ' ,
622
622
'audio/mpeg ' => 'mpga ' ,
623
623
'audio/ogg ' => 'oga ' ,
624
624
'audio/s3m ' => 's3m ' ,
@@ -653,6 +653,11 @@ class MimeTypeExtensionGuesser implements ExtensionGuesserInterface
653
653
'chemical/x-cml ' => 'cml ' ,
654
654
'chemical/x-csml ' => 'csml ' ,
655
655
'chemical/x-xyz ' => 'xyz ' ,
656
+ 'font/collection ' => 'ttc ' ,
657
+ 'font/otf ' => 'otf ' ,
658
+ 'font/ttf ' => 'ttf ' ,
659
+ 'font/woff ' => 'woff ' ,
660
+ 'font/woff2 ' => 'woff2 ' ,
656
661
'image/bmp ' => 'bmp ' ,
657
662
'image/x-ms-bmp ' => 'bmp ' ,
658
663
'image/cgm ' => 'cgm ' ,
@@ -669,8 +674,8 @@ class MimeTypeExtensionGuesser implements ExtensionGuesserInterface
669
674
'image/tiff ' => 'tiff ' ,
670
675
'image/vnd.adobe.photoshop ' => 'psd ' ,
671
676
'image/vnd.dece.graphic ' => 'uvi ' ,
672
- 'image/vnd.dvb.subtitle ' => 'sub ' ,
673
677
'image/vnd.djvu ' => 'djvu ' ,
678
+ 'image/vnd.dvb.subtitle ' => 'sub ' ,
674
679
'image/vnd.dwg ' => 'dwg ' ,
675
680
'image/vnd.dxf ' => 'dxf ' ,
676
681
'image/vnd.fastbidsheet ' => 'fbs ' ,
@@ -732,8 +737,8 @@ class MimeTypeExtensionGuesser implements ExtensionGuesserInterface
732
737
'text/vcard ' => 'vcard ' ,
733
738
'text/vnd.curl ' => 'curl ' ,
734
739
'text/vnd.curl.dcurl ' => 'dcurl ' ,
735
- 'text/vnd.curl.scurl ' => 'scurl ' ,
736
740
'text/vnd.curl.mcurl ' => 'mcurl ' ,
741
+ 'text/vnd.curl.scurl ' => 'scurl ' ,
737
742
'text/vnd.dvb.subtitle ' => 'sub ' ,
738
743
'text/vnd.fly ' => 'fly ' ,
739
744
'text/vnd.fmi.flexstor ' => 'flx ' ,
@@ -747,10 +752,10 @@ class MimeTypeExtensionGuesser implements ExtensionGuesserInterface
747
752
'text/x-asm ' => 's ' ,
748
753
'text/x-c ' => 'c ' ,
749
754
'text/x-fortran ' => 'f ' ,
750
- 'text/x-pascal ' => 'p ' ,
751
755
'text/x-java-source ' => 'java ' ,
752
- 'text/x-opml ' => 'opml ' ,
753
756
'text/x-nfo ' => 'nfo ' ,
757
+ 'text/x-opml ' => 'opml ' ,
758
+ 'text/x-pascal ' => 'p ' ,
754
759
'text/x-setext ' => 'etx ' ,
755
760
'text/x-sfv ' => 'sfv ' ,
756
761
'text/x-uuencode ' => 'uu ' ,
@@ -796,7 +801,7 @@ class MimeTypeExtensionGuesser implements ExtensionGuesserInterface
796
801
'video/x-sgi-movie ' => 'movie ' ,
797
802
'video/x-smv ' => 'smv ' ,
798
803
'x-conference/x-cooltalk ' => 'ice ' ,
799
- ) ;
804
+ ] ;
800
805
801
806
/**
802
807
* {@inheritdoc}
0 commit comments