We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using query string to parse
http://localhost:3000/redirect?code=2a4817a4b06d03059873
The leading string is not being removed.
The code I am using is the following,
const { location } = window; console.log(location.search); const parsed = parse(location.search); console.log(parsed);
which results in
?code=2a4817a4b06d03059873 {?code: "2a4817a4b06d03059873"}
I am using version 6.11.1.
The text was updated successfully, but these errors were encountered:
You should check that you are importing query-string and not querystring.
query-string
querystring
Sorry, something went wrong.
query-string/test/parse.js
Lines 4 to 6 in bed0871
Ah yes that is most likely the issue. I didn’t realise querystring was even a thing. Thanks @jfmoy
No branches or pull requests
When using query string to parse
The leading string is not being removed.
The code I am using is the following,
which results in
I am using version 6.11.1.
The text was updated successfully, but these errors were encountered: