[Tickets #1633] NEW: url limit in IE using meta refresh?

bugs at bugs.horde.org bugs at bugs.horde.org
Mon Mar 28 14:32:22 PST 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=1633
-----------------------------------------------------------------------
 Ticket             | 1633
 Created By         | eli at experthost.com
 Summary            | url limit in IE using meta refresh?
 Queue              | IMP
 Version            | 4.0.2
 State              | New
 Priority           | 1. Low
 Type               | Enhancement
 Owners             | 
-----------------------------------------------------------------------


eli at experthost.com (2005-03-28 14:32) wrote:

I have made a patch that allows me to define a custom login error message
from the pre/post auth hooks in Horde.

I had not tested its effects in IE until today when a client reported IMP
hanging on redirect.php when trying to log in.

I have since apparently discovered that IE (6, latest w/patches in WinXP) is
apparently exhibiting a 165 character limit when using a Refresh: header

In redirect.php, I modified line 170 from:

header('Refresh: 0; URL=' . $url);

to:

header('Location: ' . $url);

and it seems to have fixed my problem.  The problem was that if if the URL
was longer than 165 characters, IE would not honor the Refresh: header and
just hang.  Once using the Location: header, IE redirects properly and
functions fine.

Is there a specific reason to using the Refresh: header in redirect.php? 
Can it safely be switched to using Location: instead?  Also, do you notice
this same problem with your IE browser (I have confirmed this on a few IE
installs - no problem in Firefox).

Eli.




More information about the bugs mailing list