From 9eb726b3ab2808b3c25ac966388e7d361bfbb21c Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Wed, 16 Apr 2014 09:47:49 +0200 Subject: [PATCH] Fixed bug #67079 Missing MIME types for XML/XSL files --- NEWS | 2 ++ sapi/cli/php_cli_server.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/NEWS b/NEWS index fbc0769c21e..f4ae924fa7a 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 a993d65bc63..98727da66fb 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 } };