]> granicus.if.org Git - php/commitdiff
modify test to ensure that query string is preserved when munging server vars
authorGreg Beaver <cellog@php.net>
Sat, 5 Jan 2008 22:04:58 +0000 (22:04 +0000)
committerGreg Beaver <cellog@php.net>
Sat, 5 Jan 2008 22:04:58 +0000 (22:04 +0000)
ext/phar/tests/frontcontroller21.phpt

index 1270dc82901dea36f9272591225a49e4fff60a4c..489008ba2d1142fa55e0e381af25dbb16c63bb49 100644 (file)
@@ -4,7 +4,7 @@ Phar front controller $_SERVER munging success
 <?php if (!extension_loaded("phar")) die("skip"); ?>
 --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