From b54c7e220e6bf3e22008d1e2b289239cdfcaabd5 Mon Sep 17 00:00:00 2001 From: bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Date: Tue, 17 Aug 2021 10:36:08 -0500 Subject: [PATCH] Fixed: Update AppIndexerRegex to support indexer ids over 100 Fixed Update AppIndexerRegex to support /api trailing (Mylar3) --- src/NzbDrone.Core/Applications/ApplicationBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Applications/ApplicationBase.cs b/src/NzbDrone.Core/Applications/ApplicationBase.cs index 6989ad579..cb31fc7d8 100644 --- a/src/NzbDrone.Core/Applications/ApplicationBase.cs +++ b/src/NzbDrone.Core/Applications/ApplicationBase.cs @@ -14,7 +14,7 @@ namespace NzbDrone.Core.Applications protected readonly IAppIndexerMapService _appIndexerMapService; protected readonly Logger _logger; - protected static readonly Regex AppIndexerRegex = new Regex(@"\/(?\d.)\/?$", + protected static readonly Regex AppIndexerRegex = new Regex(@"\/(?\d{1,3})(?:\/(?:api)?\/?)?$", RegexOptions.IgnoreCase | RegexOptions.Compiled); public abstract string Name { get; }