Closed Bug 239922 Opened 20 years ago Closed 20 years ago

URL: Wrong relative uri with an "?stuff"

Categories

(Core :: Networking, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: yan.morin, Assigned: darin.moz)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040328 Firefox/0.8.0+
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040328 Firefox/0.8.0+

When we have a <a href="?test"></a> on a page.htm file, the link should go to
/?test and not /page.htm?test

I search for "wrong uri ?" on bugzilla and I found "double ?" bug and
"refreshing" bug, but not this one. 

Reference: http://www.ietf.org/rfc/rfc2396.txt, page 29
With an URI like  http://a/b/c/d;p?q  
 ?y            =  http://a/b/c/?y


Reproducible: Always
Steps to Reproduce:
1. Click on the link from this page
http://yansanmo.no-ip.org:8080/test/gecko/uri.htm
Actual Results:  
I see the page http://yansanmo.no-ip.org:8080/test/gecko/uri.htm?test=test

Expected Results:  
Show this page: http://yansanmo.no-ip.org:8080/test/gecko/?test=test
This is not a Firefox-specific bug.
Assignee: firefox → general
Component: General → Browser-General
Product: Firefox → Browser
QA Contact: general
Version: unspecified → Trunk
-> Networking
Assignee: general → darin
Component: Browser-General → Networking
QA Contact: general → benc
that's how it's 'sposed to be

see bug 90439

marking INVALID
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
So the rfc2396.txt, page 29, is wrong.
My lynx is wrong (Lynx Version 2.8.5dev.7)
And http://dir.com/pompos.html is wrong too.

To Bug or not to bug... that's the "?"

Ok, I will recommand to not use this type of URi now.
In the mentioned bug, you can see where Roy says it should be this way...
Status: RESOLVED → VERIFIED
Summary: Wrong relative uri with an ? → URL: Wrong relative uri with an "?stuff"
You need to log in before you can comment on or make changes to this bug.