mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: Accept ImdbIds in string format on Newznab endpoint
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user