Project:Path redirect
Version:5.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

Comments

#1

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

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

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

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

#5

Status:postponed (maintainer needs more info)» fixed

No response in over a year. Closing issue.

#6

Status:fixed» closed (fixed)

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

nobody click here