1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-02-25 15:42:48 +00:00

Torrent download bugfix

This commit is contained in:
KZ 2015-09-21 20:54:24 +01:00
parent 353dadba0b
commit 66b8448186

View file

@ -83,6 +83,11 @@ namespace Jackett.Indexers
public Uri UncleanLink(Uri link) public Uri UncleanLink(Uri link)
{ {
if (string.IsNullOrWhiteSpace(downloadUrlBase))
{
return link;
}
if (link.ToString().StartsWith(downloadUrlBase)) if (link.ToString().StartsWith(downloadUrlBase))
{ {
return link; return link;