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.
2 parents 4eb071a + 479c521 commit 54f6940Copy full SHA for 54f6940
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