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

On Wed, Mar 13, 2013 at 11:58 PM, Bjoern Hoehrmann <derhoermi@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/

Received on Thursday, 14 March 2013 09:58:42 UTC