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

Decode x-amz-copy-source to support spaces & special characters #207

Merged
merged 1 commit into from
Apr 6, 2018

Conversation

rickyblaha
Copy link

To match how S3 copyObject works, this changes s3rver to URI-decode the value passed in the x-amz-copy-source header.

S3 docs say UTF-8 is supported and copyObject reference says "CopySource — (String) The name of the source bucket and key name of the source object, separated by a slash (/). Must be URL-encoded."

p.s. s3rver is awesome, thank you for making it!

@leontastic leontastic merged commit bd6fbbc into jamhall:master Apr 6, 2018
@leontastic
Copy link
Collaborator

@rickyblaha Thank you for your contribution!

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

Successfully merging this pull request may close these issues.

2 participants