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

x-amz-meta-json header: value must be us-ascii #389

Closed
mkhatib opened this issue Feb 24, 2015 · 2 comments · Fixed by markevans/dragonfly-s3_data_store#18
Closed

x-amz-meta-json header: value must be us-ascii #389

mkhatib opened this issue Feb 24, 2015 · 2 comments · Fixed by markevans/dragonfly-s3_data_store#18

Comments

@mkhatib
Copy link

mkhatib commented Feb 24, 2015

Not sure what Dragonfly uses the x-amz-meta-json header to set in it, but I am getting an error when someone tries to upload a file that has some Arabic characters like صورة.jpg

Excon::Errors::BadRequest (invalid x-amz-meta-json header: value must be us-ascii)

To reproduce have S3 setup for uploads from dragonfly and try uploading an image with Arabic characters.

Anyway to configure dragonfly to remove these characters before sending them to Amazon?

@budu
Copy link

budu commented Mar 19, 2015

+1 same problem with any UTF8 character

@tricknotes
Copy link
Contributor

This issue will be fixed by markevans/dragonfly-s3_data_store#18 .

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 a pull request may close this issue.

3 participants