Closed Bug 140025 Opened 23 years ago Closed 21 years ago

colon in relativelink silently fails

Categories

(Core :: Networking, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 86486
Future

People

(Reporter: bbaetz, Assigned: darin.moz)

References

()

Details

From IRC: Consider the following link: <a href="anything:anything.html">anything</a> Clicking on that link doesn't do anything. : is not reserved from within a path name (rfc2396). I'm guessing that we're parsing that as scheme="anything", port="anything.html", but why aren't we reporting an invalid scheme, then? Is it because the port is non-numeric? Is this even valid, without encoding the ':'? Its only ambigous if we allow "http:foo.html" urls, which we don't.
we allow javascript:foo urls, data:foo urls, and so forth.... For some reason we never put up invalid scheme alerts for links in a page that are clicked....
bug 100176. Some people think we do have error handling for this, but it is only for URL bar, via docshell, and only for really obvious stuff that ends w/ a "://" (try invalid://)
-> future
Target Milestone: --- → Future
*** This bug has been marked as a duplicate of 86486 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
V/dupe.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.