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 |
Jump to:
Description
Doing a redirect from "front" to ../ works well in FF2 but gives a "Bad Request" error page in IE7.

#1
I see this header in Firefox:
Location: http://example.com/../...when making a redirect from
foo/barto../. 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 adrupal_gotowith 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
Locationin 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
No response in over a year. Closing issue.
#6
Automatically closed -- issue fixed for 2 weeks with no activity.