IE7 doesn't like ../

momendo - February 28, 2008 - 23:45
Project:Path redirect
Version:5.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Doing a redirect from "front" to ../ works well in FF2 but gives a "Bad Request" error page in IE7.

#1

HorsePunchKid - March 5, 2008 - 03:45
Status:active» postponed (maintainer needs more info)

I see this header in Firefox:

Location: http://example.com/../

...when making a redirect from foo/bar to ../. This doesn't look too bad to me. What happens when you try to go directly to a URL like that? Could you tell me exactly what location header is getting sent? Any RFC experts know if that's technically an invalid URL?

As a temporary workaround, you might give Global Redirect a shot. It's a handy companion to Path Redirect, in any case.

#2

momendo - March 7, 2008 - 21:49

I don't get an error in IE7 if I type directly in the URL bar with http://url/foo/../

There's no way to get the header info out of IE7 with IE developer toolbar.

#3

HorsePunchKid - March 8, 2008 - 02:01

Is this a problem with drupal_goto, too? Could you try throwing a drupal_goto with a (presumably) malformed URL (as in #1) in somewhere and see if it complains?

If it doesn't complain, then that's probably not the problem, and we'll need to track down exactly what is getting sent for the Location in the header on your setup, which shouldn't depend on the browser. You could use Firefox + Live HTTP Headers to check that.

#4

hass - May 31, 2008 - 17:32

For debugging in IE you could use Fiddler http://www.fiddlertool.com/fiddler/

#5

Dave Reid - November 4, 2009 - 04:32
Status:postponed (maintainer needs more info)» fixed

No response in over a year. Closing issue.

#6

System Message - November 18, 2009 - 04:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.