We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4eb071a commit 479c521Copy full SHA for 479c521
transmission-trackers.py
@@ -70,7 +70,7 @@ def parse(txt):
70
71
def validateTrackerURL(url, dns=True):
72
try:
73
- h = urlparse(url).netloc.split(':', 1)[0]
+ h = ':'.join(urlparse(url).netloc.split(':')[0:-1])
74
except:
75
lg("Tracker URL '{}' is malformed".format(url))
76
return False
0 commit comments