com php-src: Fixed bug #67079 Missing MIME types for XML/XSL files: NEWS sapi/cli/php_cli_server.c

From: Date: Wed, 16 Apr 2014 07:47:49 +0000
Subject: com php-src: Fixed bug #67079 Missing MIME types for XML/XSL files: NEWS sapi/cli/php_cli_server.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-76915@lists.php.net to get a copy of this message
Commit: 9eb726b3ab2808b3c25ac966388e7d361bfbb21c Author: Anatol Belski <ab@php.net> Wed, 16 Apr 2014 09:47:49 +0200 Parents: 6bf7c10b208b88848a8eeed17caa3e2ae4f09f77 Branches: PHP-5.5 PHP-5.6 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9eb726b3ab2808b3c25ac966388e7d361bfbb21c Log: Fixed bug #67079 Missing MIME types for XML/XSL files Bugs: https://bugs.php.net/67079 Changed paths: M NEWS M sapi/cli/php_cli_server.c Diff: diff --git a/NEWS b/NEWS index fbc0769..f4ae924 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 a993d65..98727da 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 } };

« previous php.cvs (#76915) next »