]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix for empty query string in beast frontend 20338/head
authorCasey Bodley <cbodley@redhat.com>
Thu, 25 Jan 2018 17:09:20 +0000 (12:09 -0500)
committerCasey Bodley <cbodley@redhat.com>
Tue, 6 Feb 2018 17:01:52 +0000 (12:01 -0500)
commitbf3ee8b22bf1c2242189107cc662a28f5ea7c219
tree113ebec58c475f10efb7bb2df59fffc7090c30ca
parent4974d42eea073bd1f2f27cdd3b5a35be789450a7
rgw: fix for empty query string in beast frontend

when the target does not contain a ?, the QUERY_STRING was being set to
the same value as REQUEST_URI. this QUERY_STRING is included in the
signature, and caused SignatureDoesNotMatch failures

Fixes: http://tracker.ceph.com/issues/22797
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit ab9e79684ac7ae33b78522df6732b99271d10016)
src/rgw/rgw_asio_client.cc