blob: 57b2e97908395927ca93a83cb2c43d18e904d7d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
--TEST--
Testing: suhosin.server.strip=Off
--DESCRIPTION--
This test is incomplete but at the moment we cannot do better with the standard test framework.
--INI--
suhosin.log.syslog=0
suhosin.log.sapi=0
suhosin.log.stdout=255
suhosin.log.script=0
suhosin.server.strip=Off
--SKIPIF--
<?php include('../skipif.inc'); ?>
--ENV--
return <<<END
SCRIPT_NAME=X/index.php/THIS_IS_A_FAKE_NAME<>"'`!AAA
END;
--COOKIE--
--GET--
A=B
--POST--
--FILE--
<?php
// THIS TEST IS INCOMPLETE!!! SEE DESCRIPTION
var_dump($_SERVER['PHP_SELF']);
?>
--EXPECTF--
string(40) "X/index.php/THIS_IS_A_FAKE_NAME<>"'`!AAA"
|