mirror of
https://github.com/ceph/ceph
synced 2024-12-27 14:03:25 +00:00
rgw: blacklist x-amz-storage-class header
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
This commit is contained in:
parent
053a765876
commit
316ada445e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user