Closed
Bug 140025
Opened 23 years ago
Closed 21 years ago
colon in relativelink silently fails
Categories
(Core :: Networking, defect)
Tracking
()
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.
Comment 1•23 years ago
|
||
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://)
You need to log in
before you can comment on or make changes to this bug.
Description
•