[whatwg] URL standard: Query string parsing; host parsing

Anne van Kesteren annevk at annevk.nl
Thu Mar 14 02:58:14 PDT 2013


On Wed, Mar 13, 2013 at 11:58 PM, Bjoern Hoehrmann <derhoermi at gmx.net> wrote:
> "http:test" is already absolute, so per RFC 3986 the absolute form is
> "http:test" regardless of the base reference. The relevant case there
> is rather when the base scheme is "http", because then some implemen-
> tations treat the string as relative reference, as noted in RFC 3986.
>
> Some browsers end up handling the absolute reference "http:test" as
> if it was "http://test/", but that has nothing to do with how you turn
> relative references into absolute references.

Fair enough.

I guess the main difference for relative references is that they only
work for certain schemes and that the file URL scheme has even more
special rules.


-- 
http://annevankesteren.nl/



More information about the whatwg mailing list