by efaref · 10y ago · 0 comments
According to RFC3986, URIs (the proper name; URLs are a kind of URI) are correctly of the form:
<scheme>:<scheme-specific-part>
For some schemes, the <scheme-specific-part> may contain a <hierarchical-part>, the format for which is: //<authority>[/<path>] | <path>
So it's only hierarchical URIs with a defined authority that have the (admittedly iconic) "://" in them.I know most people identity URIs as having that sequence in them, but these are all valid URIs:
mailto:bob@example.com
sip:bob@example.com
tel:+18005550123
file:/path/to/file
I'm not saying I expect everyone to understand these subtleties, but people who claim to grok URLs ought to."I also suggested we’d try to work with :// (colon slash slash) somehow as a symbol, since after all the :// letter sequence is commonly used in all the URL formats that curl supports. And it is sort of a global symbol for URLs when you start to think about it. Made sense to me."
They seem to grok it perfectly well, but recognize the modern association people have with :// and urls.
https://webcache.googleusercontent.com/search?q=cache:hGPFWP...
No, it supports mainly schemes with a hierarchical-part - even though it works with 'file:'
For a logo there's absolutely no problem in using an element that's common and pretty identifiable
I have never seen file:/ used before, so I can't really comment, but it seems invalid to me (and browsers auto-redirect it to ///).