From b6a08bdd9e0f351eb962694ab76b0b37f08a7dfb Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 12 Jun 2021 18:02:10 -0400 Subject: [PATCH] Fixed: Accept ImdbIds in string format on Newznab endpoint --- src/Prowlarr.Api.V1/Indexers/NewznabController.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Prowlarr.Api.V1/Indexers/NewznabController.cs b/src/Prowlarr.Api.V1/Indexers/NewznabController.cs index 75680eaed..e76bae68a 100644 --- a/src/Prowlarr.Api.V1/Indexers/NewznabController.cs +++ b/src/Prowlarr.Api.V1/Indexers/NewznabController.cs @@ -52,6 +52,8 @@ namespace NzbDrone.Api.V1.Indexers throw new BadRequestException("Missing Function Parameter"); } + request.imdbid = request.imdbid.TrimStart('t'); + if (request.imdbid.IsNotNullOrWhiteSpace()) { if (!int.TryParse(request.imdbid, out var imdb) || imdb == 0)