From: Xinchen Hui Date: Tue, 1 Nov 2011 13:06:41 +0000 (+0000) Subject: Fixed bug #60189 (php logo can not be displayed) X-Git-Tag: php-5.5.0alpha1~955 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bba44800aee09008f61b8bdb671a913eab49ad9b;p=php Fixed bug #60189 (php logo can not be displayed) --- diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server.c index 67df608672..597efc8e63 100644 --- a/sapi/cli/php_cli_server.c +++ b/sapi/cli/php_cli_server.c @@ -1931,7 +1931,7 @@ static int php_cli_server_dispatch_router(php_cli_server *server, php_cli_server destroy_request_info(&SG(request_info)); return -1; } - { + if (!php_handle_special_queries(TSRMLS_C)) { zend_file_handle zfd; char *old_cwd; diff --git a/sapi/cli/tests/php_cli_server_011.phpt b/sapi/cli/tests/php_cli_server_011.phpt new file mode 100644 index 0000000000..a957a8ed4c --- /dev/null +++ b/sapi/cli/tests/php_cli_server_011.phpt @@ -0,0 +1,41 @@ +--TEST-- +Bug #60180 ($_SERVER["PHP_SELF"] incorrect) +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +okey