]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: don't add port to url if already has one
authorYehuda Sadeh <yehuda@inktank.com>
Mon, 15 Oct 2012 16:43:47 +0000 (09:43 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Mon, 15 Oct 2012 16:59:14 +0000 (09:59 -0700)
commit8d7c8e3b860f448426ba0220fe98f70e9b91622f
tree91eb81e67ca8d24d8a02cd119bd09a1aab22d4f9
parent662c69e525fe8c88c65e8d5c597e29634ea3d521
rgw: don't add port to url if already has one

Fixes: #3296
Specifically, is host name string already has ':', then
don't try to append theport (swift auth).

backport: argonaut
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_swift_auth.cc