mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Fixed: Old foreign id query too permissive
This commit is contained in:
parent
5f679c5f58
commit
e9ced07b28
1 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,8 @@ namespace NzbDrone.Core.Music
|
|||
|
||||
if (release == null && checkRedirect)
|
||||
{
|
||||
release = Query.Where(x => x.OldForeignReleaseIds.Contains(foreignReleaseId))
|
||||
var id = "\"" + foreignReleaseId + "\"";
|
||||
release = Query.Where(x => x.OldForeignReleaseIds.Contains(id))
|
||||
.SingleOrDefault();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue