Re: [whatwg/url] Allow queries in relative references when the baseURL has an opaque path (Issue #668)

Reading the RFC it also suggests that 

* `new URL("b", "test:a")` should yield "`test:b`", whereas we yield an error https://jsdom.github.io/whatwg-url/#url=Yg==&base=dGVzdDph
* `new URL("b", "test:c/a")` should yield "`test:c/b`", whereas we yield an error https://jsdom.github.io/whatwg-url/#url=Yg==&base=dGVzdDpjL2E=

so from that perspective I think we should probably not do this. Being consistent on path and query makes a lot of sense to me.

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

Message ID: <whatwg/url/issues/668/1456164829@github.com>

Received on Monday, 6 March 2023 13:47:41 UTC