mirror of
https://github.com/tiennm99/mtprotoproxy.git
synced 2026-10-12 14:15:04 +00:00
Fix encoding of IPv6 addresses, make colon safe
This commit is contained in:
1 parent
0738b4395a
commit
e81c3535c3
1 file changed
+1
-1
+1
-1
@@ -238,7 +238,7 @@ def print_tg_info():
|
||||
params = {
|
||||
"server": my_ip, "port": PORT, "secret": secret
|
||||
}
|
||||
print("{}: tg://proxy?{}".format(user, urllib.parse.urlencode(params)), flush=True)
|
||||
print("{}: tg://proxy?{}".format(user, urllib.parse.urlencode(params, safe=':')), flush=True)
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
Reference in new issue
Block a user