]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: fixes for AWSBrowserUploadAbstractor auth
authorCasey Bodley <cbodley@redhat.com>
Thu, 22 Jun 2017 18:56:11 +0000 (14:56 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 22 Jun 2017 19:38:28 +0000 (15:38 -0400)
commit94418464d16da6cdf2ac5d5001e615e97b93541b
tree1af11e2b1c96d8842a4ed14453c729a739a43bf8
parent34ab09b61494734b89b2ccc277a176dc9197df0c
rgw: fixes for AWSBrowserUploadAbstractor auth

return initializer lists rather than std::make_tuple(), which constructs
a temporary tuple and converts it to the return type. this was causing
an issue with std::string -> string_view conversions, because the
string_views ended up pointing to memory from a string in that
temporary tuple

Fixes: http://tracker.ceph.com/issues/20372
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_rest_s3.cc