summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Munaut <s.munaut@whatever-company.com>2013-08-29 16:17:30 +0200
committerYehuda Sadeh <yehuda@inktank.com>2013-08-29 10:56:23 -0700
commit7a7361d7e798d94796d4985e2e4b35af22463ae2 (patch)
treeab6a49dec05cf17a5cbb0b8b9b4e2a1e7e91196a
parent91616ce4ef6b534cfabb91b2df775e25ec4e9027 (diff)
downloadceph-7a7361d7e798d94796d4985e2e4b35af22463ae2.tar.gz
rgw: Fix S3 auth when using response-* query string params
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com> Signed-off-by: Sylvain Munaut <s.munaut@whatever-company.com>
-rw-r--r--src/rgw/rgw_auth_s3.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rgw/rgw_auth_s3.cc b/src/rgw/rgw_auth_s3.cc
index f3f0c8322f0..2b0685118b1 100644
--- a/src/rgw/rgw_auth_s3.cc
+++ b/src/rgw/rgw_auth_s3.cc
@@ -15,6 +15,12 @@ static const char *signed_subresources[] = {
"partNumber",
"policy",
"requestPayment",
+ "response-cache-control",
+ "response-content-disposition",
+ "response-content-encoding",
+ "response-content-language",
+ "response-content-type",
+ "response-expires",
"torrent",
"uploadId",
"uploads",