Re: [whatwg/url] Should URL constructors prepend ? when initializing query objects? (#248)

"A new URLSearchParams object" doesn't invoke the constructor (which performs the stripping of `?`), but instead goes to the [specialized algorithm](https://url.spec.whatwg.org/#concept-urlsearchparams-new) that skips the `?`-stripping step. It is a bug in the Node.js implementation for using the constructor in such a fashion.

-- 
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/248#issuecomment-279625499

Received on Tuesday, 14 February 2017 07:08:56 UTC