mirror of
https://github.com/alexbers/mtprotoproxy.git
synced 2026-03-13 23:03:09 +00:00
Fix encoding of IPv6 addresses, make colon safe
This commit is contained in:
@@ -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