mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-20 22:14:34 -04:00
New: Force all usenet indexers to use Redirection
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user