]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix MalformedXML errors in PutBucketObjectLock/PutObjRetention 28783/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 28 Jun 2019 18:54:54 +0000 (14:54 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 28 Jun 2019 18:54:58 +0000 (14:54 -0400)
commit33a00eee3cc00e7d6ac3b79d0c00766aa410c53f
treefc265f8d5e1dc9a0bedabed870f34130b0e80779
parent36df505d55284c24f10ca7957445eb4786631b85
rgw: fix MalformedXML errors in PutBucketObjectLock/PutObjRetention

RGWPutBucketObjectLock was not calling get_params(), so the 'data' it
was trying to parse was empty

RGWPutObjRetention was calling get_params() a second time, which
overwrote the 'data' from the first call

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_op.cc