]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/auth: check auth for http options requests
authorTobias Urdin <tobias.urdin@binero.se>
Thu, 27 Jul 2023 14:59:45 +0000 (14:59 +0000)
committerMykola Golub <mgolub@suse.com>
Tue, 12 Sep 2023 09:12:33 +0000 (12:12 +0300)
commit802a1cbc930b5d902033634727517623abb181ae
treead388a19647fb5088374a8898c2ea430fec3f0ae
parent2dde5ee7fa43a0b7ac2330228e6abfd9b777a1bc
rgw/auth: check auth for http options requests

If we get a HTTP OPTIONS request we previously always
allowed the anonymous engine to handle the request even
if other auth was given in the request.

Fixes: https://tracker.ceph.com/issues/62033
Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
(cherry picked from commit 135b6fc20e8ad094ed94e05bfb1975578abbbdab)
src/rgw/rgw_rest_s3.cc