]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: Fix S3 auth when using response-* query string params 808/head
authorSylvain Munaut <s.munaut@whatever-company.com>
Thu, 29 Aug 2013 14:17:30 +0000 (16:17 +0200)
committerYehuda Sadeh <yehuda@inktank.com>
Sat, 2 Nov 2013 04:09:09 +0000 (21:09 -0700)
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
Signed-off-by: Sylvain Munaut <s.munaut@whatever-company.com>
(cherry picked from commit 7a7361d7e798d94796d4985e2e4b35af22463ae2)

src/rgw/rgw_auth_s3.cc

index f3f0c8322f05fbbf894dbccb88257628434ddfef..2b0685118b1cab070fe91e7125fc4bf360b7c7d2 100644 (file)
@@ -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",