When the URL http:///example.org
is opened in Firefox or webkit-based browsers, it opens http://example.org
. I wonder if this is a valid behavior, i.e. if the extra slash should be stripped and example.org
treated as an authority component. I read the specification (RFC 3986), and I got the impression that the authority component of such an URI should be considered empty. Some other HTTP clients such as curl or links2 won't resolve the URL.
Is this a bug in the browsers, or a valid behavior in accordance with the RFC? Edit: Or an intended feature, in order to make browsers more user-friendly?