]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: implement s3 encoding-type for get bucket 6527/head
authorJeff Weber <jweber@cofront.net>
Wed, 5 Aug 2015 23:06:46 +0000 (19:06 -0400)
committerAbhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Tue, 10 Nov 2015 16:48:02 +0000 (22:18 +0530)
commit609f256a00f6ee18564ee055dd79f8293217940c
tree31756703be7a06c633301320b1bebe0e1f9f555d
parent4ad97162026e1eb6e6e948ddf3eb39f711431e45
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>
(cherry picked from commit 180ca7b56ba91a3995c76dac698aa4ee31d9a2ce)
src/rgw/rgw_op.h
src/rgw/rgw_rest_s3.cc