Closed
Bug 190275
Opened 23 years ago
Closed 23 years ago
URL: meta refresh and url=http:menu.cgi
Categories
(Core :: Networking, defect)
Tracking
()
People
(Reporter: jimmy.super, Assigned: dougt)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830
Relative URLS are not interpreted by Mozilla 1.01. Instead, the relative url is
taken as a host name.
Reproducible: Always
Steps to Reproduce:
1. Go to the URL listed.
(page with <meta http-equiv="Refresh" content="0; url=http:menu.cgi">)
2.
3.
Actual Results:
Notice that mozilla will try to resolve non-existant host "menu.cgi"
Expected Results:
Without a http://hostname/ given Mozilla should default to attempt loading the
menu.cgi from the current host.
I think the use of http-equiv refresh to redirect is not recommended in the HTML
4 spec, but Mozilla does it anyway and in that case it should also handle
relative URLs in a way compatible with other browers (Konqueror, Netscape 4,
Explorer etc)
Comment 1•23 years ago
|
||
Work for me on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b)
Gecko/20030121. According to RFC:
Some parsers allow the scheme name to be present in a relative URI if
it is the same as the base URI scheme. This is considered to be a
loophole in prior specifications of partial URI [RFC1630]. Its use
should be avoided.
http:g = http:g ; for validating parsers
| http://a/b/c/g ; for backwards compatibility
So mozilla resolve you case as:
http://www.jettours.fr/menu.cgi?&PAGE=menu.cgi
Comment 2•23 years ago
|
||
Please always test the latest trunk milestone before you report a bug.
(in this case 1.3a)
*** This bug has been marked as a duplicate of 32966 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
VERIFIED, dupe
corrected branch field.
Status: RESOLVED → VERIFIED
Version: Trunk → 1.0 Branch
Summary: Mozilla incorrectly handles relative URLs in META HTTP-EQUIV REFRESH → URL: meta refresh and url=http:menu.cgi
You need to log in
before you can comment on or make changes to this bug.
Description
•