rgw: blacklist x-amz-storage-class header

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
This commit is contained in:
Yehuda Sadeh 2018-10-09 17:42:48 -07:00
parent 053a765876
commit 316ada445e

View 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;