[JCLOUDS-1401] Properly URL-encode the CanonicalQueryString when it contains funny characters.

This commit is contained in:
Jesse Glick 2018-07-09 23:45:52 -04:00 committed by Ignasi Barrera
parent c34935dcd3
commit f770455ff9
No known key found for this signature in database
GPG Key ID: 3D5414A0D959B94F
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,7 @@ public abstract class Aws4SignerBase {
// CanonicalQueryString + '\n' +
if (endpoint.getQuery() != null) {
canonicalRequest.append(getCanonicalizedQueryString(endpoint.getQuery()));
canonicalRequest.append(getCanonicalizedQueryString(endpoint.getRawQuery()));
}
canonicalRequest.append("\n");