|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-01-25 17:29 UTC] carloschilazo at gmail dot com
[2012-01-30 11:49 UTC] jiri dot reischig at ecn dot cz
[2012-02-03 21:34 UTC] rasmus@php.net
-Status: Open
+Status: Not a bug
[2012-02-03 21:34 UTC] rasmus@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 09:00:01 2025 UTC |
Description: ------------ When you post some data to the php script where are more variables than limit in max_input_vars the php script does not get any information that php don't put any of data to the system variables (for example $_REQUEST[]). There is only "PHP Warning" generated but the php script is still running without any problem with corrupted dataset from post. Solution will be to stop executing the script if max_input_vars is reached. Without stoping the script you are working with currupted dataset and you can make some data inconsistencies in your aplication without any knowledge. Test script: --------------- max_input_vars = 1 sending post: test.php?a=1&b=2&c=3 print_r($_REQUEST); Expected result: ---------------- Stop the script if max_input_vars is reached. Actual result: -------------- Array ( [a] => 1 )