]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: blacklist x-amz-storage-class header
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 10 Oct 2018 00:42:48 +0000 (17:42 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 4 Jan 2019 03:00:21 +0000 (19:00 -0800)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_op.h

index 25e8d3041f6a925bcb326c7c030c0f3e49edba60..5d6a73d14a12b72094dd59a12b668b146ae84a08 100644 (file)
@@ -1902,7 +1902,8 @@ static inline int rgw_get_request_metadata(CephContext* const cct,
   static const std::set<std::string> blacklisted_headers = {
       "x-amz-server-side-encryption-customer-algorithm",
       "x-amz-server-side-encryption-customer-key",
-      "x-amz-server-side-encryption-customer-key-md5"
+      "x-amz-server-side-encryption-customer-key-md5",
+      "x-amz-storage-class"
   };
 
   size_t valid_meta_count = 0;