Discussion:
[Tickets #11759] Re: Don't use $_SERVER["REDIRECT_URL"]
(too old to reply)
b***@horde.org
2012-11-26 21:10:02 UTC
Permalink
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11759
------------------------------------------------------------------------------
Ticket | 11759
Updated By | ***@aol.com
Summary | Don't use $_SERVER["REDIRECT_URL"]
Queue | Horde Framework Packages
Version | Git master
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
Relying on $_SERVER["REDIRECT_URL"] (before $_SERVER["REQUEST_URI"])
for a valid URL causes problems when using php-fastcgi or php-fpm.
e.g. rampage won't work in these setups.
try again i didnt get to see the website
* .htaccess File inside docroot with content: RewriteRule ^(.*)$
test.php [QSA,L]
* GET-URL: http://something/does/not/matter
_SERVER["REQUEST_URI"] => "/does/not/matter"
_SERVER["REDIRECT_URL"] => "/does/not/matter"
_SERVER["REQUEST_URI"] => "/does/not/matter"
_SERVER["REDIRECT_URL"] => "/test.php"
_SERVER["REQUEST_URI"] => "/does/not/matter"
_SERVER["REDIRECT_URL"] => "/test.php"
* Horde_Core_Factory_Request
* Horde_Controller_Request_Mock
--
bugs mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: bugs-***@lists.horde.org
n***@bugs.horde.org
2013-12-03 07:31:50 UTC
Permalink
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11759
------------------------------------------------------------------------------
Ticket | 11759
Updated By | ***@stefanseidel.info
Summary | Don't use $_SERVER["REDIRECT_URL"]
Queue | Horde Framework Packages
Version | Git master
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------


***@stefanseidel.info (2013-12-03 07:31) wrote:

Thanks, it took me a whole day to figure out the problem with my
PHP-FPM installation of Horde (and I only found this bug _after_ I
knew what the problem was). I think it should be tested with nginx
also, but from what I read on other bugtrackers[1][2] it's net even
present on nginx.

[1] https://github.com/photo/frontend/pull/1134
[2] https://drupal.org/node/1424678
--
bugs mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: bugs-***@lists.horde.org
Loading...