andrewrk / node-s3-client

high level amazon s3 client for node.js
MIT License
1k stars 303 forks source link

remove duplicate encoding in multipart upload #185

Open dudif opened 7 years ago

dudif commented 7 years ago

remove encoding of s3 key when you try to upload in multipart because it cause duplicate encoding since aws also does encoding on the key. you can also see that when you upload file not in multipart you never do encoding on the key

right now it causes an error if you try to sync file called "example 1.png" in multi part. because it does encoding on the key to this "example%201.png" and the aws does encoding again i guess and the key changed to "example%251.png" which not exist.

thanks