]> granicus.if.org Git - php/commitdiff
Fixed bug #67079 Missing MIME types for XML/XSL files
authorAnatol Belski <ab@php.net>
Wed, 16 Apr 2014 07:47:49 +0000 (09:47 +0200)
committerAnatol Belski <ab@php.net>
Wed, 16 Apr 2014 07:47:49 +0000 (09:47 +0200)
NEWS
sapi/cli/php_cli_server.c

diff --git a/NEWS b/NEWS
index fbc0769c21e76633ddfb1e0e527c289e74ea3656..f4ae924fa7af717ad51e0d4591ecfabb3ac29a1c 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,8 @@ PHP                                                                        NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? ??? 2014, PHP 5.5.13
 
+- CLI server:
+  . Fixed bug #67079 (Missing MIME types for XML/XSL files). (Anatol)
 
 ?? ??? 2014, PHP 5.5.12
 - Core:
index a993d65bc631fc2925bd624d173b8aefd79ab1db..98727da66fbc53f52e3280c690316e137409221e 100644 (file)
@@ -312,6 +312,9 @@ static php_cli_server_ext_mime_type_pair mime_type_map[] = {
        { "xls", "application/vnd.ms-excel" },
        { "xlsx", "application/vnd.ms-excel" },
        { "zip", "application/x-zip-compressed" },
+       { "xml", "application/xml" },
+       { "xsl", "application/xml" },
+       { "xsd", "application/xml" },
        { NULL, NULL }
 };