6.0.0-alpha12
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
6/12/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#2458] "Redirection limit for this URL exceeded."
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. ..___..__.. . |\ |\ / | | |\ / | \| \/ | |__| \/
Comment
> Thanks Jan. Making the following change to that function fixes this > problem for me: > > > > 791c791 > > < $url = isset($_SERVER['SCRIPT_NAME']) ? > $_SERVER['SCRIPT_NAME'] : $_SERVER['PHP_SELF']; > > --- > >> $url = $_SERVER['PHP_SELF']; > > > > That's just changing it back to how it was in Horde 3.0.4 though. > > > > In my setup, PHP_SELF is (for example): > > > > /horde/login.php > > > > Whereas SCRIPT_NAME is: > > > > /php.fcgi > > > > http://uk.php.net/manual/en/reserved.variables.php#55475 seems to say > that there's no ideal solution to this problem. Doh! > > > > I'm not sure what problem the original change was trying to fix? > Perhaps the problem of PHP_SELF not always being set? If so, then > maybe the check could be the other way round? That is, use PHP_SELF > if it's set, but otherwise use SCRIPT_NAME.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers