]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: escape bucket and object names in StreamReadRequests
authorJosh Durgin <josh.durgin@inktank.com>
Thu, 24 Oct 2013 15:42:48 +0000 (08:42 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Fri, 1 Nov 2013 23:17:31 +0000 (16:17 -0700)
commitc5991f26febd86878aeb78baab33c071660fdee6
treec1d7408416c75ea81aa546610de7deb4d6a714ff
parent672679d26110dd93393bc18a681ae41175e4a299
rgw: escape bucket and object names in StreamReadRequests

This fixes copy operations for objects that contain unsafe characters,
like a newline, which would return a 403 otherwise, since the GET to
the source rgw would be unable to verify the signature on a partially
valid bucket name.

Fixes: #6604
Backport: dumpling
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
(cherry picked from commit ec45b3b88c485140781b23d2c4f582f2cc26ea43)
src/rgw/rgw_rest_client.cc