Fixed: (TorrentIndexerBase) Validate downloaded torrent data

This commit is contained in:
Bogdan
2023-02-18 21:36:02 +02:00
parent 035ad33b72
commit 550b9b58df
6 changed files with 28 additions and 0 deletions
@@ -111,6 +111,7 @@ namespace NzbDrone.Core.Indexers.Definitions
if (link.Scheme == "magnet")
{
ValidateMagnet(link.OriginalString);
return Encoding.UTF8.GetBytes(link.OriginalString);
}
@@ -164,6 +165,8 @@ namespace NzbDrone.Core.Indexers.Definitions
throw;
}
ValidateTorrent(torrentData);
return torrentData;
}