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

Another fix required for correct signature using query string arrays #26

Merged
merged 1 commit into from
May 12, 2020

Conversation

jlagnese-allata
Copy link

One more fix is required to correctly generate canonical strings with query parameter arrays.

Because the canonical string must be generated in a repeatable, consistent way, if a query parameter appears multiple times in the request, it must be ordered by it's value alphanumerically when generating the canonical string.

For example, if the request contains this query parameter array:

?ids=C&ids=A&ids=B

The canonical string must be:

?ids=A&ids=B&ids=C

… query parameter arrays. Because the canonical string must be generated in a repeatable, consistent way, if a query parameter appears multiple times in the request, it must be ordered by it's value alphanumerically.
@jlagnese-allata jlagnese-allata changed the title Another fix required for correct signature using query string arrays May 8, 2020
@tsibelman tsibelman merged commit 8f05baf into tsibelman:master May 12, 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