#2243: parse hostname
-------------------------+--------------------------------------------------
Reporter: Alien_Huker | Owner:
Type: bug | Status: new
Priority: minor | Milestone: Future
Component: other | Version: 1.3.5
Keywords: |
-------------------------+--------------------------------------------------
in file deluge/core/torrent.py on line 620
{{{
if parts[-2] in ("co", "com", "net", "org") or parts[-1] in ("uk")
}}}
uk is "United Kingdom" country top-level domains.
all country top-level domains have two-letter.
change code to
{{{
if parts[-2] in ("co", "com", "net", "org") or len(parts[-1]) == 2
}}}
this check for all counties top-level domains.
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2243>
Deluge <http://deluge-torrent.org/>
Deluge project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/deluge-dev?hl=en.