mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-04-23 10:49:35 +02:00
fix connection with : sign in password
This commit is contained in:
parent
a1dd6859b0
commit
d80bbc384b
@ -56,7 +56,7 @@ def parse_hostport(rhostport):
|
||||
# Fix #410 bad username error detect
|
||||
if ":" in username:
|
||||
# this will even allow for the username to be empty
|
||||
username, password = username.split(":")
|
||||
username, password = username.split(":", 1)
|
||||
|
||||
if ":" in host:
|
||||
# IPv6 address and/or got a port specified
|
||||
|
Loading…
Reference in New Issue
Block a user