- From: Marcos Cáceres <notifications@github.com>
- Date: Thu, 11 May 2017 00:55:24 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 11 May 2017 07:55:57 UTC
Sure, that strips the query - but that looks like quite a hack, which doesn't work for other cases, like:
```JS
Object.assign(new URL('http://github.com/hello/world?q=v'), { search: 'test' }).href
"http://github.com/hello/world" // 0_o
```
Which might catch people out.
--
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/247#issuecomment-300711927
Received on Thursday, 11 May 2017 07:55:57 UTC