forked from aws/aws-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aws/signer/v4: Fix Signing Unordered Multi Value Query Parameters (aw…
…s#1491) Removes sorting of query string values when calculating v4 signing as this is not part of the spec: http://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html The spec only requires the keys, not values, to be sorted which is achieved by Query.Encode(). Also fixed TestBuildCanonicalRequest, which was incorrectly testing without this important part of the build process leading to a false success.
- Loading branch information
Showing
2 changed files
with
4 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters