-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
sortQueryParameters encodes the query string #149
Comments
sortQueryParameters
encodes the query string
That's unforunately expected since |
Got it. |
because my question was answered
pass the output string through the decodeURIComponent(): decodeURIComponent('http://sindresorhus.com/?url=http%3A%2F%2Fexample.com')
// => 'http://sindresorhus.com/?url=http://example.com' |
Wow! Good find. But what if the original URL parameters were encoded? |
I've made a PR to always decode the parameters, since after all the package name starts with |
Is it supposed to be like this?
sortQueryParameters: true
sortQueryParameters: false
The text was updated successfully, but these errors were encountered: