mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 15:38:43 +00:00
Fix #790 tracker hosts not correct for some .uk trackers
This commit is contained in:
parent
5ce82498ac
commit
fdf78bc7fd
2 changed files with 2 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
||||||
==== Core ====
|
==== Core ====
|
||||||
* Fix displaying file errors when the torrent isn't paused
|
* Fix displaying file errors when the torrent isn't paused
|
||||||
* Fix issue where torrents being check would get removed due to "stop at ratio" rules
|
* Fix issue where torrents being check would get removed due to "stop at ratio" rules
|
||||||
|
* Fix #790 tracker hosts not correct for some .uk trackers
|
||||||
|
|
||||||
==== GtkUI ====
|
==== GtkUI ====
|
||||||
* Fix hiding bottom pane when no tabs are enabled upon restart
|
* Fix hiding bottom pane when no tabs are enabled upon restart
|
||||||
|
@ -9,7 +10,6 @@
|
||||||
* Fix the allocate mode not being preserved when selecting different torrents in addtorrentdialog
|
* Fix the allocate mode not being preserved when selecting different torrents in addtorrentdialog
|
||||||
* Fix #655 issue where default torrent options wouldn't be set for new torrents added to the addtorrentdialog
|
* Fix #655 issue where default torrent options wouldn't be set for new torrents added to the addtorrentdialog
|
||||||
* Fix #817 email notifications fail to substitute format strings
|
* Fix #817 email notifications fail to substitute format strings
|
||||||
* Change SignalReceiver to use non-blocking socket
|
|
||||||
|
|
||||||
==== Plugins ====
|
==== Plugins ====
|
||||||
* Label: Fix setting 'Move on completed' folder when connected to a remote daemon
|
* Label: Fix setting 'Move on completed' folder when connected to a remote daemon
|
||||||
|
|
|
@ -537,7 +537,7 @@ class Torrent:
|
||||||
|
|
||||||
parts = host.split(".")
|
parts = host.split(".")
|
||||||
if len(parts) > 2:
|
if len(parts) > 2:
|
||||||
if parts[-2] in ("co", "com", "net", "org"):
|
if parts[-2] in ("co", "com", "net", "org") or parts[-1] in ("uk"):
|
||||||
host = ".".join(parts[-3:])
|
host = ".".join(parts[-3:])
|
||||||
else:
|
else:
|
||||||
host = ".".join(parts[-2:])
|
host = ".".join(parts[-2:])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue