]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/auth: handle HTTP OPTIONS with v4 auth
authorTobias Urdin <tobias.urdin@binero.se>
Mon, 7 Aug 2023 20:34:43 +0000 (20:34 +0000)
committerTobias Urdin <tobias.urdin@binero.se>
Thu, 17 Aug 2023 11:47:34 +0000 (11:47 +0000)
commit814cae52baf04d9c3f0f3bd04b8e2daf16eb3874
tree79485d1be5324e774acf0ca80def2129592e502e
parent135b6fc20e8ad094ed94e05bfb1975578abbbdab
rgw/auth: handle HTTP OPTIONS with v4 auth

This adds code to properly verify the signature
for HTTP OPTIONS calls that is preflight CORS
requests passing the expected method in the
access-control-request-method header.

Fixes: https://tracker.ceph.com/issues/62033
Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
src/rgw/rgw_cors.h
src/rgw/rgw_op.cc
src/rgw/rgw_rest_s3.cc