Re: Let parse_str() parse more than max_input_vars args

From: Date: Wed, 14 Mar 2012 23:38:30 +0000
Subject: Re: Let parse_str() parse more than max_input_vars args
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-58947@lists.php.net to get a copy of this message
On 03/14/2012 04:27 PM, Ilia Alshanetsky wrote: > Sounds like a least dangerous way of solving the problem to me. The > only issue I can see with this fix is what would happen is if after > the "PG(max_input_vars) = max_vars; " > call the request got interrupted in persistent environment such as > Apache (mod_php). Wouldn't that means that for subsequent requests the > value would not be equal to the one set by the user? Yes, it would need a zend_alter_ini_entry_ex() call there. The patch wasn't complete, just a quick hack. But it would still have an out-of-context error message when you exceed it. At least with a userspace ini_set() the error would make sense. -Rasmus

« previous php.internals (#58947) next »