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

rgw: multipart copy-part remove '/' for s3 java sdk request header. #15283

Merged
merged 1 commit into from Jun 22, 2017
Jump to file or symbol
Failed to load files and symbols.
+1 −0
Diff settings

Always

Just for now

rgw: multipart copy-part remove '/' for s3 java sdk request header.

Fixes: http://tracker.ceph.com/issues/20075
Signed-off-by: donglinpeng@cmss.chinamobile.com
  • Loading branch information...
root
root committed May 23, 2017
commit d60ddddfaf6964364faed40f45b18eb88a841023
View
@@ -1076,6 +1076,7 @@ int RGWPutObj_ObjStore_S3::get_params()
/* handle x-amz-copy-source */
if (copy_source) {
if (*copy_source == '/') ++copy_source;
copy_source_bucket_name = copy_source;
pos = copy_source_bucket_name.find("/");
if (pos == std::string::npos) {
ProTip! Use n and p to navigate between commits in a pull request.