]> 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>
Tue, 16 Oct 2012 19:25:42 +0000 (12:25 -0700)
commit5a3076fd51706e32bc55b734099037520299003b
tree9a269495b40592f555154964a8ed49c66e723640
parentd76b71caa99a39035ea6ed9db6ca0994975d38af
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