Re: another fix for max_input_vars.

From: Date: Wed, 04 Jan 2012 11:52:52 +0000
Subject: Re: another fix for max_input_vars.
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-57182@lists.php.net to get a copy of this message
On Wed, Jan 4, 2012 at 7:34 PM, Laruence <laruence@php.net> wrote: > Hi: >   I have updated the patch, make it works in case of sub arrays. > >  http://pastebin.com/yPTUZuNe this patch only restrict the post variables number, since GET and Cookie all have their length limit. and it's also easy to restrict the get or request too(add the samilar logic in php_default_treat_data), I just think that is no-needed :) thanks > > thanks > > On Wed, Jan 4, 2012 at 5:59 PM, Laruence <laruence@php.net> wrote: >> On Wed, Jan 4, 2012 at 2:59 PM, Laruence <laruence@php.net> wrote: >>> Hi dmitry: >>> >>>    it seems you have fix the issue that error in register_variable >>> will cause php process exit. >>> >>>    here is a fix I made before: http://pastebin.com/7BLAVaWr¦ÂòK >>> 3þšrùØ6£Zæ ,  I >>> think maybe this is a lighter fix. >>> >>>    could you review this?   if you think this is okey,  I will commit it. >> Hmm, after a deep thought, this patch will not work in case of  sub >> arrays in POST .. >> >> thanks >>> >>>    thanks very much. >>> >>> -- >>> Laruence  Xinchen Hui >>> http://www.laruence.com/ >> >> >> >> -- >> Laruence  Xinchen Hui >> http://www.laruence.com/ > > > > -- > Laruence  Xinchen Hui > http://www.laruence.com/ -- Laruence  Xinchen Hui http://www.laruence.com/

« previous php.internals (#57182) next »