Skip to content

Commit

Permalink
Merge pull request #11669 from ceph/wip-jewel-11566
Browse files Browse the repository at this point in the history
rgw: fix put_acls for objects starting and ending with underscore

Reviewed-by: Loic Dachary <ldachary@redhat.com>
  • Loading branch information
Loic Dachary committed Oct 28, 2016
2 parents 3c9fe54 + 39b8e78 commit 5efb6b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rgw/rgw_op.cc
Expand Up @@ -3556,7 +3556,8 @@ void RGWPutACLs::execute()
}

new_policy.encode(bl);
obj = rgw_obj(s->bucket, s->object);
obj = rgw_obj(s->bucket, s->object.name);
obj.set_instance(s->object.instance);
map<string, bufferlist> attrs;

store->set_atomic(s->obj_ctx, obj);
Expand Down

0 comments on commit 5efb6b1

Please sign in to comment.