Closed Bug 298392 Opened 20 years ago Closed 19 years ago

Lack of trailing slash in URL leads to weird misdirection

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: jsirick, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.7) Gecko/20050416 Fedora/1.0.3-1.3.1 Firefox/1.0.3
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.7) Gecko/20050416 Fedora/1.0.3-1.3.1 Firefox/1.0.3

http://clare.uchicago.edu/NE-VRP
Corrects to www.clare.com
not
http://clare.uchicago.edu/NE-VRP/

I think this is weird, but if you guys think it's correct, I bow to your
judgement. -js

Reproducible: Always

Steps to Reproduce:
1.  Type in http://clare.uchicago.edu/NE-VRP  and press return
2.  ?????
3.  profit

Actual Results:  
was redirected to www.clare.com

Expected Results:  
redirect to http://clare.uchicago.edu/NE-VRP/
wfm with Mozilla/5.0 (Windows; U; Windows NT 5.2; de-DE; rv:1.8b2) Gecko/20050617
and FF1.0.4
This is reproducable for me in several Mozilla Firefox versions including Deer
Park Alpha 1 (Windows). 

For me, the page redirects to http://clare/NE-VRP/ (I guess it ought really to
use a FQDN); then Firefox does an "I'm feeling lucky" search on Google.


 
I think this is server-side, not client side. Maybe something to do with the
server's configuration of mod_dir?
Following is HTTP header log by LiveHTTPHeaders, which is an evidence of comment
#2 and comment #3.
Invalid header of "Location: http://clare/NE-VRP/" is the cause.
Existence of "X-Pad: avoid browser bug" indicates Apache configuration
modification to avoid some client side problems when re-direct.

INVALID.

----------------------------------------------------------
http://clare.uchicago.edu/NE-VRP

GET /NE-VRP HTTP/1.1
Host: clare.uchicago.edu
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050620
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: ja,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: Shift_JIS,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cache-Control: max-age=0

HTTP/1.x 301 Moved Permanently
Date: Wed, 22 Jun 2005 04:33:27 GMT
Server: Apache/2.0.52 (Fedora)
Location: http://clare/NE-VRP/
Content-Length: 335
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1
X-Pad: avoid browser bug

----------------------------------------------------------
I think comment 4 sums up why this bug is INVALID pretty well.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.