diff options
author | Yehuda Sadeh <yehuda@inktank.com> | 2013-06-06 11:22:38 -0700 |
---|---|---|
committer | Greg Farnum <greg@inktank.com> | 2013-06-07 13:59:57 -0700 |
commit | b1d436e752c9c20e7dbff91b769cb2ba47383571 (patch) | |
tree | 5a7e0769a7d2b2220f9725dca338aacdc3fb2eea | |
parent | 4bf75015ae7539a9dbabbbfc0c784dbd58aa6004 (diff) | |
download | ceph-b1d436e752c9c20e7dbff91b769cb2ba47383571.tar.gz |
rgw: add 'cors' to the list of sub-resources
Fixes: #5261
Backport: cuttlefish
Add 'cors' to the list of sub-resources, otherwise auth signing
is wrong.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
(cherry picked from commit 9a0a9c205b8c24ca9c1e05b0cf9875768e867a9e)
-rw-r--r-- | src/rgw/rgw_common.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rgw/rgw_common.cc b/src/rgw/rgw_common.cc index 48a377cd7dc..80ee0002e2e 100644 --- a/src/rgw/rgw_common.cc +++ b/src/rgw/rgw_common.cc @@ -450,6 +450,7 @@ int XMLArgs::parse() val_map[name] = val; if ((name.compare("acl") == 0) || + (name.compare("cors") == 0) || (name.compare("location") == 0) || (name.compare("logging") == 0) || (name.compare("delete") == 0) || |