Skip to content
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

Fix for double query params decoding #24

Merged
merged 1 commit into from
Jan 5, 2022
Merged

Conversation

akhudiakov97
Copy link
Contributor

@akhudiakov97 akhudiakov97 commented Dec 24, 2021

*Issue #23

Removed the double decoding of the query params, on line 166 we already call querystring.parse method which does decoding by default according to Node Js doc, so there is no need to call decodeURIComponent on line 180.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@jeandek jeandek merged commit 28eec19 into awslabs:main Jan 5, 2022
@jeandek jeandek self-requested a review January 5, 2022 11:29
@jeandek jeandek added the bug Something isn't working label Jan 5, 2022
@jeandek jeandek added this to the 1.1.1 milestone Jan 5, 2022
@jeandek jeandek linked an issue Jan 5, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Double Decoding of the QueryParams
2 participants