[Tickets #11759] Re: Don't use $_SERVER["REDIRECT_URL"]

noreply at bugs.horde.org noreply at bugs.horde.org
Tue Feb 11 11:12:12 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         | arjen+horde at de-korte.org
  Summary            | Don't use $_SERVER["REDIRECT_URL"]
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


arjen+horde at de-korte.org (2014-02-11 11:12) 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.

Interesting. I'm using apache2.4 + mod_proxy_fcgi + PHP_FPM and with  
that combination there is no problem saving a task in nag. So the test  
case may not be so simple after all.





More information about the bugs mailing list