Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 852b555ab4ac599f72ecd55e8813096c > files > 93

php-suhosin-0.9.35-1.mga4.x86_64.rpm

--TEST--
suhosin POST filter (suhosin.post.max_vars)
--INI--
suhosin.log.syslog=0
suhosin.log.sapi=0
suhosin.log.stdout=255
suhosin.log.script=0
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', file '%s')