]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: Fix upload part copy range able to get almost any string 33265/head
authorOr Friedmann <ofriedma@redhat.com>
Sun, 5 Jan 2020 16:07:42 +0000 (18:07 +0200)
committerNathan Cutler <ncutler@suse.com>
Thu, 13 Feb 2020 13:20:43 +0000 (14:20 +0100)
commitf311e2a2c49945850470746a8bc5730cab1bb2d9
tree2bdb3c99ca88bc995aac484018f7e4148a0b9981
parentda9b42ec818878f09515a2b0315b22766f20c890
rgw: Fix upload part copy range able to get almost any string

Fix upload part copy range able to get almost any string

This PR intends to add more checking on HTTP_X_AMZ_COPY_SOURCE_RANGE header

Signed-off-by: Or Friedmann <ofriedma@redhat.com>
(cherry picked from commit 139495052ae3c87458ccd428f27657465a589201)
src/rgw/rgw_rest_s3.cc