diff --git a/Aws4Signer/AWS4RequestSigner.cs b/Aws4Signer/AWS4RequestSigner.cs index 9d17ab0..6a7a3ab 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>(); + var values = new SortedDictionary>(StringComparer.OrdinalIgnoreCase); var querystring = HttpUtility.ParseQueryString(request.RequestUri.Query); foreach (var key in querystring.AllKeys) @@ -183,4 +183,4 @@ public void Dispose() _sha256.Dispose(); } } -} \ No newline at end of file +} diff --git a/Aws4Signer/Aws4RequestSigner.csproj b/Aws4Signer/Aws4RequestSigner.csproj index 76ded15..108e356 100644 --- a/Aws4Signer/Aws4RequestSigner.csproj +++ b/Aws4Signer/Aws4RequestSigner.csproj @@ -5,9 +5,9 @@ true - 1.0.1 - 1.0.1.0 - 1.0.1.0 + 1.0.2 + 1.0.2.0 + 1.0.2.0 https://github.com/tsibelman/aws-signer-v4-dot-net/blob/master/LICENSE https://github.com/tsibelman/aws-signer-v4-dot-net