Annotation of embedaddon/php/sapi/tests/test005.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: QUERY_STRING Security Bug
                      3: --DESCRIPTION--
                      4: This bug was present in PHP 4.3.0 only.
                      5: A failure should print HELLO.
                      6: --REQUEST--
                      7: return <<<END
                      8: SCRIPT_NAME=/nothing.php
                      9: QUERY_STRING=$filename
                     10: END;
                     11: --ENV--
                     12: return <<<END
                     13: REDIRECT_URL=$scriptname
                     14: PATH_TRANSLATED=c:\apache\1.3.27\htdocs\nothing.php
                     15: QUERY_STRING=$filename
                     16: PATH_INFO=/nothing.php
                     17: SCRIPT_NAME=/phpexe/php.exe/nothing.php
                     18: SCRIPT_FILENAME=c:\apache\1.3.27\htdocs\nothing.php
                     19: END;
                     20: --FILE--
                     21: <?php
                     22:     echo "HELLO";
                     23: ?>
                     24: --EXPECTHEADERS--
                     25: Status: 404
                     26: --EXPECT--
                     27: No input file specified.

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>