Skip to content

Commit

Permalink
Merge pull request #12320 from dachary/wip-18061-jewel
Browse files Browse the repository at this point in the history
jewel: rgw:fix for deleting objects name beginning and ending with underscores of one bucket using POST method of js sdk.
  • Loading branch information
mattbenjamin committed Jan 31, 2017
2 parents c4f8684 + 820ab7d commit e524035
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rgw/rgw_op.cc
Expand Up @@ -4449,7 +4449,8 @@ void RGWDeleteMultiObj::execute()
for (iter = multi_delete->objects.begin();
iter != multi_delete->objects.end() && num_processed < max_to_delete;
++iter, num_processed++) {
rgw_obj obj(bucket, *iter);
rgw_obj obj(bucket, iter->name);
obj.set_instance(iter->instance);

obj_ctx->set_atomic(obj);

Expand Down

0 comments on commit e524035

Please sign in to comment.