RE: [fw-general] Zend_Filter_Input / accessing $_POST

2007-03-19 Thread Simon R Jones
Thanks for the speedy reply Tony

best wishes,
Simon 




Re: [fw-general] Zend_Filter_Input / accessing $_POST

2007-03-19 Thread Tony Brady

Hi Simon
it caused some problems in other components (see for instance http:// 
framework.zend.com/issues/browse/ZF-673). So now you have to null  
$_POST yourself if you want the previous behaviour.

cheers
Tony


On 19 Mar 2007, at 18:21, Simon R Jones wrote:


Quick question I hope isn't too dumb..

I've noticed ZF 0.9 has dropped the functionality of accessing the  
$_POST
superglobal via Zend_Filter_Input. Pre 0.9 once you'd accessed POST  
via

Zend_Filter_Input you were forced to access POST subsequently via
Zend_Filter_Input. This seemed to me, at the time, a good idea.

Now POST vars are left where they always were, i.e. $_POST[{name}] or
$this->_request->getPost('{name}'). I missed any mailing list  
discussion on
this, so can I ask what the reasoning behind this was so I can  
understand

why it's now structured in this way

thanks,
Si