]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix multi-delete query param parsing. 10187/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:19:16 +0000 (14:19 -0700)
commita7016e1b67e82641f0702fda4eae799e953063e6
tree855adca279f15dcc1b9c8f0406c6c9b75bebf9ab
parent33fb3bc63f7ae15c4803ad7b7efc68ac3d217297
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>
src/rgw/rgw_rest.cc
src/rgw/rgw_rest_s3.cc