]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: don't try to authenticate a CORS preflight request 2350/head
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 28 Aug 2014 00:44:18 +0000 (17:44 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Thu, 28 Aug 2014 18:42:34 +0000 (11:42 -0700)
commit848fcf7871e07fc689bdcd18943ace36b2f4906e
tree098589dfa5ad675f17eec333f9af45d64e8bd96e
parent92b227e1c0b1533c359e74c81de58140b483ee8e
rgw: don't try to authenticate a CORS preflight request

Fixes: #8718
Backport: firefly

CORS preflight requests don't need to be authenticated. Treat them as
coming from anonymous user.

Reported-by: Robert Hubbard <bobby.hubbard@garmin.com>
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_rest_s3.cc
src/rgw/rgw_rest_swift.cc