]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: implement s3 encoding-type for get bucket 5579/head
authorJeff Weber <jweber@cofront.net>
Wed, 5 Aug 2015 23:06:46 +0000 (19:06 -0400)
committerJeff Weber <jweber@cofront.net>
Thu, 20 Aug 2015 22:33:35 +0000 (22:33 +0000)
commit180ca7b56ba91a3995c76dac698aa4ee31d9a2ce
tree6cc22d05dd0272b6d8331ba01af27436ffa36c11
parent7083ed5edfeeb38587385e4df00c08b12b5d089c
rgw: implement s3 encoding-type for get bucket

This change introduces handling for the encoding-type request
parameter on the get bucket operation. An object key may contain
characters which are not supported in XML. Passing the value "url" for
the encoding-type parameter will cause the key to be urlencoded in the
response.

Fixes: #12735
Signed-off-by: Jeff Weber <jweber@cofront.net>
src/rgw/rgw_op.h
src/rgw/rgw_rest_s3.cc