Re: [whatwg/url] Allow `//` when base exists (#553)

I forgot above that setting `pathname` would also work.

https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-semantics-19#section-4.1 is pretty clear that this is a special production that is different from the one that does not allow `//` and therefore it stands to reason it cannot be parsed normally. I would expect that any "relative URL" library would also need out-of-band information to support this.

Closing this therefore, but feel free to leave comments in case I missed something.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/553#issuecomment-947574358

Received on Wednesday, 20 October 2021 11:27:52 UTC