@@ -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 ' ,
@@ -528,12 +528,9 @@ class MimeTypeExtensionGuesser implements ExtensionGuesserInterface
528
528
'application/x-font-bdf ' => 'bdf ' ,
529
529
'application/x-font-ghostscript ' => 'gsf ' ,
530
530
'application/x-font-linux-psf ' => 'psf ' ,
531
- 'application/x-font-otf ' => 'otf ' ,
532
531
'application/x-font-pcf ' => 'pcf ' ,
533
532
'application/x-font-snf ' => 'snf ' ,
534
- 'application/x-font-ttf ' => 'ttf ' ,
535
533
'application/x-font-type1 ' => 'pfa ' ,
536
- 'application/x-font-woff ' => 'woff ' ,
537
534
'application/x-freearc ' => 'arc ' ,
538
535
'application/x-futuresplash ' => 'spl ' ,
539
536
'application/x-gca-compressed ' => 'gca ' ,
@@ -572,7 +569,6 @@ class MimeTypeExtensionGuesser implements ExtensionGuesserInterface
572
569
'application/x-pkcs7-certificates ' => 'p7b ' ,
573
570
'application/x-pkcs7-certreqresp ' => 'p7r ' ,
574
571
'application/x-rar-compressed ' => 'rar ' ,
575
- 'application/x-rar ' => 'rar ' ,
576
572
'application/x-research-info-systems ' => 'ris ' ,
577
573
'application/x-sh ' => 'sh ' ,
578
574
'application/x-shar ' => 'shar ' ,
@@ -599,7 +595,6 @@ class MimeTypeExtensionGuesser implements ExtensionGuesserInterface
599
595
'application/x-xliff+xml ' => 'xlf ' ,
600
596
'application/x-xpinstall ' => 'xpi ' ,
601
597
'application/x-xz ' => 'xz ' ,
602
- 'application/x-zip-compressed ' => 'zip ' ,
603
598
'application/x-zmachine ' => 'z1 ' ,
604
599
'application/xaml+xml ' => 'xaml ' ,
605
600
'application/xcap-diff+xml ' => 'xdf ' ,
@@ -618,7 +613,7 @@ class MimeTypeExtensionGuesser implements ExtensionGuesserInterface
618
613
'audio/adpcm ' => 'adp ' ,
619
614
'audio/basic ' => 'au ' ,
620
615
'audio/midi ' => 'mid ' ,
621
- 'audio/mp4 ' => 'mp4a ' ,
616
+ 'audio/mp4 ' => 'm4a ' ,
622
617
'audio/mpeg ' => 'mpga ' ,
623
618
'audio/ogg ' => 'oga ' ,
624
619
'audio/s3m ' => 's3m ' ,
@@ -653,14 +648,17 @@ class MimeTypeExtensionGuesser implements ExtensionGuesserInterface
653
648
'chemical/x-cml ' => 'cml ' ,
654
649
'chemical/x-csml ' => 'csml ' ,
655
650
'chemical/x-xyz ' => 'xyz ' ,
651
+ 'font/collection ' => 'ttc ' ,
652
+ 'font/otf ' => 'otf ' ,
653
+ 'font/ttf ' => 'ttf ' ,
654
+ 'font/woff ' => 'woff ' ,
655
+ 'font/woff2 ' => 'woff2 ' ,
656
656
'image/bmp ' => 'bmp ' ,
657
- 'image/x-ms-bmp ' => 'bmp ' ,
658
657
'image/cgm ' => 'cgm ' ,
659
658
'image/g3fax ' => 'g3 ' ,
660
659
'image/gif ' => 'gif ' ,
661
660
'image/ief ' => 'ief ' ,
662
661
'image/jpeg ' => 'jpeg ' ,
663
- 'image/pjpeg ' => 'jpeg ' ,
664
662
'image/ktx ' => 'ktx ' ,
665
663
'image/png ' => 'png ' ,
666
664
'image/prs.btif ' => 'btif ' ,
@@ -669,8 +667,8 @@ class MimeTypeExtensionGuesser implements ExtensionGuesserInterface
669
667
'image/tiff ' => 'tiff ' ,
670
668
'image/vnd.adobe.photoshop ' => 'psd ' ,
671
669
'image/vnd.dece.graphic ' => 'uvi ' ,
672
- 'image/vnd.dvb.subtitle ' => 'sub ' ,
673
670
'image/vnd.djvu ' => 'djvu ' ,
671
+ 'image/vnd.dvb.subtitle ' => 'sub ' ,
674
672
'image/vnd.dwg ' => 'dwg ' ,
675
673
'image/vnd.dxf ' => 'dxf ' ,
676
674
'image/vnd.fastbidsheet ' => 'fbs ' ,
@@ -723,7 +721,6 @@ class MimeTypeExtensionGuesser implements ExtensionGuesserInterface
723
721
'text/plain ' => 'txt ' ,
724
722
'text/prs.lines.tag ' => 'dsc ' ,
725
723
'text/richtext ' => 'rtx ' ,
726
- 'text/rtf ' => 'rtf ' ,
727
724
'text/sgml ' => 'sgml ' ,
728
725
'text/tab-separated-values ' => 'tsv ' ,
729
726
'text/troff ' => 't ' ,
@@ -732,8 +729,8 @@ class MimeTypeExtensionGuesser implements ExtensionGuesserInterface
732
729
'text/vcard ' => 'vcard ' ,
733
730
'text/vnd.curl ' => 'curl ' ,
734
731
'text/vnd.curl.dcurl ' => 'dcurl ' ,
735
- 'text/vnd.curl.scurl ' => 'scurl ' ,
736
732
'text/vnd.curl.mcurl ' => 'mcurl ' ,
733
+ 'text/vnd.curl.scurl ' => 'scurl ' ,
737
734
'text/vnd.dvb.subtitle ' => 'sub ' ,
738
735
'text/vnd.fly ' => 'fly ' ,
739
736
'text/vnd.fmi.flexstor ' => 'flx ' ,
@@ -743,14 +740,13 @@ class MimeTypeExtensionGuesser implements ExtensionGuesserInterface
743
740
'text/vnd.sun.j2me.app-descriptor ' => 'jad ' ,
744
741
'text/vnd.wap.wml ' => 'wml ' ,
745
742
'text/vnd.wap.wmlscript ' => 'wmls ' ,
746
- 'text/vtt ' => 'vtt ' ,
747
743
'text/x-asm ' => 's ' ,
748
744
'text/x-c ' => 'c ' ,
749
745
'text/x-fortran ' => 'f ' ,
750
- 'text/x-pascal ' => 'p ' ,
751
746
'text/x-java-source ' => 'java ' ,
752
- 'text/x-opml ' => 'opml ' ,
753
747
'text/x-nfo ' => 'nfo ' ,
748
+ 'text/x-opml ' => 'opml ' ,
749
+ 'text/x-pascal ' => 'p ' ,
754
750
'text/x-setext ' => 'etx ' ,
755
751
'text/x-sfv ' => 'sfv ' ,
756
752
'text/x-uuencode ' => 'uu ' ,
@@ -796,7 +792,7 @@ class MimeTypeExtensionGuesser implements ExtensionGuesserInterface
796
792
'video/x-sgi-movie ' => 'movie ' ,
797
793
'video/x-smv ' => 'smv ' ,
798
794
'x-conference/x-cooltalk ' => 'ice ' ,
799
- ) ;
795
+ ] ;
800
796
801
797
/**
802
798
* {@inheritdoc}
0 commit comments