]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Replacing '+' with "%20" in canonical uri for s3 v4 auth. 10919/head
authorPritha Srivastava <prsrivas@redhat.com>
Mon, 29 Aug 2016 09:02:42 +0000 (14:32 +0530)
committerPritha Srivastava <prsrivas@redhat.com>
Thu, 1 Sep 2016 04:52:46 +0000 (10:22 +0530)
commit20e5ff023ebad89c386a520d07613547d4836399
tree32199a241dd4b40bc012b632626b09ed884d0bcc
parent0c9ada8ec6d6ebb3be2188f2f2c7398255ae801b
rgw: Replacing '+' with "%20" in canonical uri for s3 v4 auth.

s3cmd encodes space as "%20" while signature computation and
encodes space as '+' while sending the canonical uri. This
results in a SignatureMismatch Error in rgw, since rgw
computes the signature based on the request received from
the client (s3cmd in this case).

Fixes http://tracker.ceph.com/issues/17076.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
src/rgw/rgw_rest_s3.cc