Issue Type: Patch Created: 2008-07-24T19:24:33.000+0000 Last Updated: 2009-11-19T16:30:17.000+0000 Status: Resolved Fix version(s): - 1.9.6 (24/Nov/09)
Reporter: Michal Vrchota (techi) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Controller
Related issues: Attachments: - Zend_Controller_Request_Http.patch
I tried to set param sources for _GET only. bug Zend_Controller_Front::getParams() still returns _POST variables
try following code
$_POST = array(); $_POST['test'] = 'ZF BUGGED!'; var_dump($this->_request->getParamSources()); $this->_request->setParamSources(array('_GET')); var_dump($this->_request->getParamSources()); $params = $this->_request->getParams(); var_dump($params);
Posted by Johannes Wenzel (johannes.wenzel) on 2009-02-04T10:26:39.000+0000
This Patch fixes the problem. Please apply it to the trunk. Thank you very much and keep on the good work! :-)
Posted by Mike Willbanks (digitalstruct) on 2009-06-24T21:40:42.000+0000
Added patch. This patch is a slight update from the prior patch provided in terms of whitespace and a fix in the comment. Also added a test case for this issue.
Posted by Matthew Weier O'Phinney (matthew) on 2009-11-19T16:30:17.000+0000
Patch applied and committed to trunk and 1.9 release branch -- thanks, Mike!
Have you found an issue?
See the Overview section for more details.