]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix multi-delete query param parsing. 10189/head
authorRobin H. Johnson <robin.johnson@dreamhost.com>
Thu, 7 Jul 2016 21:14:36 +0000 (14:14 -0700)
committerRobin H. Johnson <robin.johnson@dreamhost.com>
Thu, 7 Jul 2016 21:21:01 +0000 (14:21 -0700)
commit2c180159c00aa184e1fe8b051b1aa1e9f0f332fc
tree86cddcbdb648f4ec378cd0b9d78e1147cb7ff446
parent387d5c1ba836833a0cf11ddf9a4fb8690a532878
rgw: fix multi-delete query param parsing.

Multi-delete is triggered by a query parameter on POST, but there are
multiple valid ways of representing it, and Ceph should accept ANY way
that has the query parameter set, regardless of what value or absence of
value.

This caused the RubyGem aws-sdk-v1 to break, and has been present since
multi-delete was first added in commit 0a1f4a97da, for the bobtail
release.

Fixes: http://tracker.ceph.com/issues/16618
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
(cherry picked from commit a7016e1b67e82641f0702fda4eae799e953063e6)
src/rgw/rgw_rest.cc
src/rgw/rgw_rest_s3.cc