From: Greg Beaver Date: Sat, 5 Jan 2008 22:04:58 +0000 (+0000) Subject: modify test to ensure that query string is preserved when munging server vars X-Git-Tag: RELEASE_2_0_0a1~1015 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec0cd27f0d6bdb859240662401508f16e2cfc9ac;p=php modify test to ensure that query string is preserved when munging server vars --- diff --git a/ext/phar/tests/frontcontroller21.phpt b/ext/phar/tests/frontcontroller21.phpt index 1270dc8290..489008ba2d 100644 --- a/ext/phar/tests/frontcontroller21.phpt +++ b/ext/phar/tests/frontcontroller21.phpt @@ -4,7 +4,7 @@ Phar front controller $_SERVER munging success --ENV-- SCRIPT_NAME=/frontcontroller21.php/index.php -REQUEST_URI=/frontcontroller21.php/index.php +REQUEST_URI=/frontcontroller21.php/index.php?test=hi --FILE_EXTERNAL-- frontcontroller12.phar --EXPECTHEADERS-- @@ -13,8 +13,8 @@ Content-type: text/html string(10) "/index.php" string(%d) "phar://%sfrontcontroller21.php/index.php" string(%d) "phar://%sfrontcontroller21.php/index.php" -string(10) "/index.php" +string(18) "/index.php?test=hi" string(32) "/frontcontroller21.php/index.php" string(32) "/frontcontroller21.php/index.php" string(%d) "%s/frontcontroller21.php" -string(32) "/frontcontroller21.php/index.php" \ No newline at end of file +string(40) "/frontcontroller21.php/index.php?test=hi" \ No newline at end of file