From 50eef5ec3e1712899db929730febd254db076921 Mon Sep 17 00:00:00 2001 From: Brandon chow Date: Mon, 3 May 2021 15:55:14 -0400 Subject: [PATCH 1/2] Change sort comparer to use Ordinal instead of OrdinalIgnoreCase --- Aws4Signer/AWS4RequestSigner.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Aws4Signer/AWS4RequestSigner.cs b/Aws4Signer/AWS4RequestSigner.cs index 6a7a3ab..2c2054b 100644 --- a/Aws4Signer/AWS4RequestSigner.cs +++ b/Aws4Signer/AWS4RequestSigner.cs @@ -151,7 +151,7 @@ public async Task Sign(HttpRequestMessage request, string se private static string GetCanonicalQueryParams(HttpRequestMessage request) { - var values = new SortedDictionary>(StringComparer.OrdinalIgnoreCase); + var values = new SortedDictionary>(StringComparer.Ordinal); var querystring = HttpUtility.ParseQueryString(request.RequestUri.Query); foreach (var key in querystring.AllKeys) From 832e069935f29c7bf8e2f6aa7eb8ec792ccf6714 Mon Sep 17 00:00:00 2001 From: Brandon chow Date: Mon, 3 May 2021 15:56:27 -0400 Subject: [PATCH 2/2] Bump nuget version --- Aws4Signer/Aws4RequestSigner.csproj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Aws4Signer/Aws4RequestSigner.csproj b/Aws4Signer/Aws4RequestSigner.csproj index 108e356..bd6a4cc 100644 --- a/Aws4Signer/Aws4RequestSigner.csproj +++ b/Aws4Signer/Aws4RequestSigner.csproj @@ -5,9 +5,9 @@ true - 1.0.2 - 1.0.2.0 - 1.0.2.0 + 1.0.3 + 1.0.3.0 + 1.0.3.0 https://github.com/tsibelman/aws-signer-v4-dot-net/blob/master/LICENSE https://github.com/tsibelman/aws-signer-v4-dot-net