blob: e7bd49ba7bb4e6ae84648be5bcff7f36af89ce4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--TEST--
suhosin filter action: 302 redirect
--INI--
suhosin.log.syslog=0
suhosin.log.sapi=0
suhosin.log.stdout=0
suhosin.log.script=0
suhosin.request.disallow_nul=1
suhosin.filter.action=302,http://example.com/
--SKIPIF--
<?php include('../skipifcli.inc'); ?>
--CGI--
--COOKIE--
x=%00
--FILE--
<?php
echo 'this is wrong!';
?>
--EXPECTHEADERS--
Status: 302 Moved Temporarily
Location: http://example.com/
--EXPECTF--
|