Skip to content

Commit

Permalink
Merge pull request #132 from scireum/jvo/hash-fix
Browse files Browse the repository at this point in the history
Fix Hash Computation
  • Loading branch information
andyHa authored Jan 2, 2020
2 parents 248f29f + f747c1a commit f1b0343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/ninja/Aws4HashCalculator.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ private String buildStringToSign(final WebContext ctx,
private StringBuilder buildCanonicalRequest(final WebContext ctx, final String signedHeaders) {
StringBuilder canonicalRequest = new StringBuilder(ctx.getRequest().method().name());
canonicalRequest.append("\n");
canonicalRequest.append(ctx.getRequestedURI());
canonicalRequest.append(ctx.getRawRequestedURI());
canonicalRequest.append("\n");

appendCanonicalQueryString(ctx, canonicalRequest);
Expand Down

0 comments on commit f1b0343

Please sign in to comment.