]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix multi-delete query param parsing. 10188/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:20:34 +0000 (14:20 -0700)
commit8655803d8fb9ac21f75b636fb6d666f387462934
tree235b4df9f0f5253373b637d7a140b4cb77698b33
parentbf73c9ad08ed2cc8db821c08694b11461549fb26
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