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

The thing is `//a` is also a valid value as path* and we might not know if users want to handle the input as host or path.
> Wouldn't it be extremely confusing that // would have very different behavior from //a?

*I think `//a` should be a valid value as path since `new URL('https://example.com//a')` works and its pathname is `//a`.

-- 
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-712103164

Received on Monday, 19 October 2020 11:50:27 UTC