Re: [whatwg/url] Provide means to "strip query" (#247)

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