]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: don't add port to aws4 canonical string if using default port
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 19 May 2016 19:52:54 +0000 (12:52 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Thu, 19 May 2016 21:09:15 +0000 (14:09 -0700)
commit033888bbd0e4d8d81358bf61a099276dddb5692b
tree76903dab7e6787ec415a370992a0adce23241fef
parent310f5bdf56a9deb09347aadc158da25750fb6735
rgw: don't add port to aws4 canonical string if using default port

Fixes: #15939
When either port 80 is used, or if it's a secure connection and port 443 is used,
and when going through the presigned url auth, don't add the port to the signed
string.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_rest_s3.cc