There was an error while loading. Please reload this page.
2 parents ba9c155 + 29576be commit c61f74cCopy full SHA for c61f74c
1 file changed
pproxy/server.py
@@ -482,7 +482,7 @@ def compile(cls, uri, relay=None):
482
cipher.plugins.append(plugin)
483
match = cls.compile_rule(url.query) if url.query else None
484
if loc:
485
- host_name, _, port = loc.rpartition(':')
+ host_name, _, port = loc.partition(':')
486
port = int(port) if port else (22 if 'ssh' in rawprotos else 8080)
487
else:
488
host_name = port = None
0 commit comments