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

On Wed, Mar 13, 2013 at 8:43 PM, Bjoern Hoehrmann <derhoermi@gmx.net> wrote:
> * Boris Zbarsky wrote:
>>If you assume that this is a hierarchical scheme and that the hierarchy
>>is in some particular place, no?  Why is that assumption being made?
>
> Turning relative references into absolute ones is a generic operation
> that works the same for all schemes, as far as RFC 1808 (published in
> 1995) and its successors are concerned.

That's in part why I wrote http://url.spec.whatwg.org/ as
implementations do not do that. E.g. http:test resolves to
http://test/ if base URL's scheme is not http.

It does not cover jar: at the moment though as that's not supported by everyone.


-- 
http://annevankesteren.nl/

Received on Wednesday, 13 March 2013 21:13:43 UTC