Re: [whatwg/url] Support relative URLs (#531)

Just to clarify: Using a placeholder domain doesn't cover all use cases. For example, a relative URLs with dot segments like `./a/../b/../c?c=d&e=f#g` would be resolved against the base without a way to recover it afterwards.

I'd very much like to see a Web standard for a platform-agnostic way to deal with such relative URLs without resorting to brittle string manipulation. IMO, a standard that calls itself "URL" should support that.

-- 
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/531#issuecomment-927301947

Received on Sunday, 26 September 2021 12:55:55 UTC