-
Notifications
You must be signed in to change notification settings - Fork 96
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
Failed to upload in the case I use multipart upload #787
Comments
Related to this issue Cyberduck is effected by this problem.
|
First-aid dirty diff:
Should keys are treated as UTF-8 encoded |
This reminds me of very old issue: #317 |
Using the filename including multibyte chars, it fails to upload it.
I found the content of Initiate Multipart Upload XML is broken like this:
The value of
Key
element is corrupted.Some S3 compatible clients use this element value, so it failed to upload files containing multibyte chars.
The cause is here.
In L.110,
Key
is not a binary but a list. Becauseriak_cs_xml:export_xml
encodes lists into utf8,Key
will be broken, butKey
should be a binary. Binaries are not encoded byriak_cs_xml:export_xml
.The text was updated successfully, but these errors were encountered: