Issues

ZF-3057: Apache 404 Parameters problem

Issue Type: Improvement Created: 2008-04-07T12:37:04.000+0000 Last Updated: 2011-05-03T20:20:45.000+0000 Status: Resolved Fix version(s): - 1.7.0 (17/Nov/08)

Reporter: Roberto Celestino (rcelestino) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Controller

Related issues: - ZF-9776

Attachments:

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.:

  • I am trying to do this
  • The result I get is this
  • This is how I did it

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.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts