Skip to content

Commit

Permalink
update trojan.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Toperlock committed Mar 24, 2024
1 parent 7c8b026 commit 91cd0c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsers/trojan.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def parse(data):
if server_info.path:
server_info = server_info._replace(netloc=server_info.netloc + server_info.path, path="")
if '@' in server_info.netloc:
_netloc = server_info.netloc.split("@")
_netloc = server_info.netloc.rsplit("@", 1)
else:
return None
netquery = dict(
Expand Down

0 comments on commit 91cd0c9

Please sign in to comment.