-
-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
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
+ is parsed as white space #119
Comments
Resolved by using encodeUriComponent to convert |
Hey @caddac This did not work in my case. When doing const urlEncode = encodeURIComponent(location.search)
const urlParsed = query.parse(urlEncode) |
doesn't work for my either |
Why does |
In my use case, URL has a Base64 query string value, it will be wrong if the |
I see there is a test that indicated
+
should be parsed into white space, however when I test this here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent+
is encoded as%2B
.The text was updated successfully, but these errors were encountered: