Mercurial > public > mercurial-scm > hg-stable
diff mercurial/url.py @ 9122:a9eae2f3241c
url: fix use of non-int port in https connections via proxy
Complements eef406165507 (issue1725).
author | Wagner Bruna <wbruna@softwareexpress.com.br> |
---|---|
date | Tue, 14 Jul 2009 17:12:12 -0300 |
parents | eef406165507 |
children | d0474b184347 |
line wrap: on
line diff
--- a/mercurial/url.py Sun Jul 12 22:33:00 2009 -0400 +++ b/mercurial/url.py Tue Jul 14 17:12:12 2009 -0300 @@ -388,6 +388,7 @@ if urlparts[0] == 'https': # only use CONNECT for HTTPS if ':' in urlparts[1]: realhost, realport = urlparts[1].split(':') + realport = int(realport) else: realhost = urlparts[1] realport = 443