]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: don't try to authenticate a CORS preflight request
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 28 Aug 2014 00:44:18 +0000 (17:44 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Tue, 23 Sep 2014 20:55:48 +0000 (13:55 -0700)
commit6fee71154d838868807fd9824d829c8250d9d2eb
tree5cfb10ab747bc8af639f79bb6fd9ac5e48035373
parentc75a79cbac30cd14d37d89217113824d98693572
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>
(cherry picked from commit 848fcf7871e07fc689bdcd18943ace36b2f4906e)
src/rgw/rgw_rest_s3.cc
src/rgw/rgw_rest_swift.cc