Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SignatureDoesNotMatch error when signing a request containing unicode characters #513

Closed
rafou opened this issue Aug 19, 2019 · 1 comment · Fixed by #630
Closed

SignatureDoesNotMatch error when signing a request containing unicode characters #513

rafou opened this issue Aug 19, 2019 · 1 comment · Fixed by #630

Comments

@rafou
Copy link

rafou commented Aug 19, 2019

When signing a request containing a "é" character for example, I end up getting a 403 Response with a SignatureDoesNotMatch error inside.

This is due to the fact that when creating the stringToSign in S3rver, the path is not URL-encoded.

It has to be URL encoded as per the AWS documentation:
https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html#RESTAuthenticationExamples-8

I am making a PR to fix that.

@kherock
Copy link
Collaborator

kherock commented Jun 10, 2020

This is now fixed in v3.6.0, cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants