query-string icon indicating copy to clipboard operation
query-string copied to clipboard

Query string containing & breaks response object

Open pedrohma opened this issue 2 years ago • 1 comments

I have the following url: https://localhost:3000/search?q=dave%20&%20busters

Inside my useEffect() method when trying to retrieve the parsed string, the response object doesn't seem to be accurate. Please check the screenshots below:

image image

pedrohma avatar Feb 27 '23 21:02 pedrohma

Possibly duplicate of https://github.com/sindresorhus/query-string/issues/330

sindresorhus avatar Feb 28 '23 05:02 sindresorhus