ZF-9776: Query string params not accessible when bootstrapping via Apache ErrorDocument 404

Issue Type: Bug Created: 2010-04-30T12:04:18.000+0000 Last Updated: 2011-05-04T02:40:25.000+0000 Status: Resolved Fix version(s): - 1.11.6 (05/May/11)

Reporter: Marcus Welz (lucidix) Assignee: Kim Blomqvist (kblomqvist) Tags: - Zend_Controller

Related issues: - ZF-3057

Attachments: - Apache404.php.patch


There's a small typo in Zend_Controller_Request_Apache404 that will prevent query string parameters (?foo=bar) from being accessible.

Seems that the two references to $_SERVER['REDIRECT_QUERYSTRING'] should instead be $_SERVER['REDIRECT_QUERY_STRING'].

Initially I thought this may have been an Apache version specific issue, but after googling for both REDIRECT_QUERY_STRING and REDIRECT_QUERYSTRING it appears that REDIRECT_QUERYSTRING has been a typo all along.

References to the correct REDIRECT_QUERY_STRING are made on



Posted by Kim Blomqvist (kblomqvist) on 2011-04-24T20:15:04.000+0000

Patch attached.

Posted by Ralph Schindler (ralph) on 2011-05-04T02:40:25.000+0000

Fixed in trunk at r23987 and in release branch 1.11 at r23988

Have you found an issue?

See the Overview section for more details.


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

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