Fix parsing of URLs with port numbers
This commit is contained in:
parent
6444cf144b
commit
9bc9680285
2 changed files with 15 additions and 1 deletions
|
|
@ -301,7 +301,7 @@ class SCM(object):
|
|||
if password is not None and not allow_password:
|
||||
raise koji.GenericError('username:password format not supported: %s:%s'
|
||||
% (user, password))
|
||||
netloc = parsed_url.hostname
|
||||
netloc = userhost[-1]
|
||||
|
||||
# check for empty path before we apply normpath
|
||||
if not path:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue