ZF-3057: Apache 404 Parameters problem
Description
* I am trying to do this
-Initialize FrontController with Request_Apache404
-Set my .htacess with ErrorHandler 404 to bootstrap.
-Write my Controllers and wait for parameters in the way as documentation say "?parameter=value" or "parameter/value"
-In example 1 : /controllerexample/actionexample/format/json
-In example 2 : /controllerexample/actionexample?format=json
* The result I get is this
-In example 1: Work OK. Json output.
-In example 2:The same output as format wasn't send.
* This is how I did it
-The class Zend_Controller_Request_Apache404 isnt work with $_SERVER['REDIRECT_QUERYSTRING'] where the Apache 404 ErrorHandler method let _GET variables of original request.
bq.May-Be Solution Example: 'parse_str($_SERVER['REDIRECT_QUERYSTRING'],$_GET);' or write logic of if-elseif-else in Method overwrited method 'setRequestUri' in 'Zend_Controller_Request_Apache404' (if you see the code of this methods in last lines do something about re-generate $_GET but only when parameter is passed)
Comments
Posted by Wil Sinclair (wil) on 2008-04-18T16:21:27.000+0000
Please evaluate and categorize/assign as necessary.
Posted by Matthew Weier O'Phinney (matthew) on 2008-04-22T10:54:15.000+0000
I really cannot understand exactly what issue is being reported. Can the original reporter please update the issue and indicate clearly and concisely the expectation and actual results? I.e.:
Thanks!
Posted by Matthew Weier O'Phinney (matthew) on 2008-04-22T10:54:53.000+0000
Unassigning until we get feedback from reporter.
Posted by Wil Sinclair (wil) on 2008-06-08T06:23:52.000+0000
It looks like the issue has been updated. Please evaluate and fix/categorize as necessary.
Posted by Matthew Weier O'Phinney (matthew) on 2008-11-05T08:54:46.000+0000
Added support for REDIRECT_QUERYSTRING in r12303.
Posted by Wil Sinclair (wil) on 2008-11-13T14:10:18.000+0000
Changing issues in preparation for the 1.7.0 release.