summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--sapi/cli/php_cli_server.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index fbc0769c21..f4ae924fa7 100644
--- 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:
diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server.c
index a993d65bc6..98727da66f 100644
--- a/sapi/cli/php_cli_server.c
+++ b/sapi/cli/php_cli_server.c
@@ -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 }
};