blob: b70b12064fd34083077d87d3e48cb575548e54d4 (
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
28
29
30
31
32
33
34
35
36
|
--TEST--
suhosin POST filter (suhosin.post.max_vars)
--INI--
suhosin.log.syslog=0
suhosin.log.sapi=0
suhosin.log.script=0
suhosin.log.file=255
suhosin.log.file.time=0
suhosin.log.file.name={PWD}/suhosintest.$$.log.tmp
auto_append_file={PWD}/suhosintest.$$.log.tmp
suhosin.post.max_vars=5
--SKIPIF--
<?php include('../skipif.inc'); ?>
--COOKIE--
--GET--
--POST--
A=A&B=B&C=C&D=D&E=E&F=F&G=G&
--FILE--
<?php
var_dump($_POST);
?>
--EXPECTF--
array(5) {
["A"]=>
string(1) "A"
["B"]=>
string(1) "B"
["C"]=>
string(1) "C"
["D"]=>
string(1) "D"
["E"]=>
string(1) "E"
}
ALERT - configured POST variable limit exceeded - dropped variable 'F' - all further POST variables are dropped (attacker 'REMOTE_ADDR not set', file '%s')
ALERT - dropped 2 request variables - (0 in GET, 2 in POST, 0 in COOKIE) (attacker 'REMOTE_ADDR not set', %s)
|