Closed Bug 71727 Opened 23 years ago Closed 23 years ago

Relative URLs incompatible with Netscape and RFC 1808

Categories

(SeaMonkey :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 34648

People

(Reporter: psfales, Assigned: asa)

References

()

Details

According to RFC 1808, it is possible for an page to contain a URL
reference which is relative to the current page by leaving off the net_loc.
That is, if the documents URL is http://host.foo.com/index.html, then
within that document, links to http:/host.foo.com/page.html and http:/page.html
should be equivalent.  This works with netscape 4.7*, but not with mozilla 0.8.
I've created an example at http://www.workspot.net/~psfales
This problem shows up on both the Linux and Solaris versions of Mozilla 0.8.  It
may be related to bug 65650, but that bug seems to be related to URLS within
tables and this problem seems more general than that.
You mean this part of RFC 1808?

"  Finally, some older parsers allow the scheme name to be present in a
   relative URL if it is the same as the base URL scheme.  This is
   considered to be a loophole in prior specifications of partial URLs
   [1] and should be avoided by future parsers.

      http:g        = <URL:http:g>
      http:         = <URL:http:>
"

This is a dupe of some bug, in which we already decided not to add backward 
compatibility support for this.

Let me go find that dupe.
There we go. Dupe of bug 34648.

If you disagree, please reopen that one.

*** This bug has been marked as a duplicate of 34648 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
vrfy, although i think we might have parallel dupes lying around.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.