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 Querystring Arrays #25

Merged
merged 1 commit into from
May 6, 2020

Conversation

jlagnese-allata
Copy link

Fixes scenario where query string arrays (i.e. query strings with multiple paramaters with the same name) would cause invalid signatures.

This was happening because HttpUtility.ParseQueryString(...) inserts commas into the value when there are multiple values present. Instead of repeating the key=value pair in the canonical string, the algorithm was just encoding the commas into one giant value for each query parameter with multiple values.

…tiple paramaters with the same name) would cause invalid signatures.
@tsibelman tsibelman merged commit 20ee8e1 into tsibelman:master May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants