[Tickets #11759] Re: Don't use $_SERVER["REDIRECT_URL"]
noreply at bugs.horde.org
noreply at bugs.horde.org
Tue Feb 11 10:57:16 UTC 2014
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/11759
------------------------------------------------------------------------------
Ticket | 11759
Updated By | horde at stefanseidel.info
Summary | Don't use $_SERVER["REDIRECT_URL"]
Queue | Horde Framework Packages
Version | Git master
Type | Bug
State | Feedback
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
horde at stefanseidel.info (2014-02-11 10:57) wrote:
> REDIRECT_URL must be used if using Apache redirects though. See
> https://github.com/horde/horde/commit/a9b1cbd21e99e2483ea3a088380b89fb775dfc4c
When would that happen? As stated, REDIRECT_URL will return the
redirected URL, e.g. rampage.php, but not the requested URL, for
example /nag/t/save. There's a "simple" test case: install horde on
apache2+mod_fastcgi or php-fpm, try to create/save a task in nag. It
will produce an error.
The single commit you referenced does not state any use cases, but it
would be good to know _what_ would break in this case. I haven't
noticed anything yet, and I've tested imp, kronolith, nag, ansel
(including slugs & password), wicked, mnemo, activesync,
caldav+carddav and gollem (most of them with and without URL
rewriting) with the change and none of them had a problem.
More information about the bugs
mailing list