]> 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>
Thu, 24 Oct 2013 15:58:59 +0000 (08:58 -0700)
commitec45b3b88c485140781b23d2c4f582f2cc26ea43
tree7cafbdbabda8d53d0b642bab26fad24767dcd76f
parentdd308cd481b368f90a64220847b91fc233d92a59
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>
src/rgw/rgw_rest_client.cc