diff options
author | Anatol Belski <ab@php.net> | 2014-04-16 09:47:49 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-04-16 09:47:49 +0200 |
commit | 9eb726b3ab2808b3c25ac966388e7d361bfbb21c (patch) | |
tree | 64dfd606c7a395b56faa4b7cef10a1b50d76aaa3 | |
parent | 6bf7c10b208b88848a8eeed17caa3e2ae4f09f77 (diff) | |
download | php-git-9eb726b3ab2808b3c25ac966388e7d361bfbb21c.tar.gz |
Fixed bug #67079 Missing MIME types for XML/XSL files
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | sapi/cli/php_cli_server.c | 3 |
2 files changed, 5 insertions, 0 deletions
@@ -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 } }; |