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

Comments

HorsePunchKid’s picture

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.

jrabeemer’s picture

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.

HorsePunchKid’s picture

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.

hass’s picture

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

dave reid’s picture

Status: Postponed (maintainer needs more info) » Fixed

No response in over a year. Closing issue.

Status: Fixed » Closed (fixed)

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