New: Force all usenet indexers to use Redirection

This commit is contained in:
Robin Dadswell
2025-05-19 18:24:20 +01:00
committed by Qstick
parent cbfec3df3c
commit aba69901c9
2 changed files with 8 additions and 2 deletions
@@ -208,6 +208,12 @@ namespace NzbDrone.Core.Indexers
try
{
// Ensure Redirect is true for Usenet protocols
if (Protocol == DownloadProtocol.Usenet || (SupportsRedirect && Redirect))
{
failures.Add(new ValidationFailure("Redirect", "Redirect must be enabled for Usenet indexers"));
}
Test(failures).GetAwaiter().GetResult();
}
catch (Exception ex)