mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-26 07:42:49 +00: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 @@ public AlbumRelease FindByForeignReleaseId(string foreignReleaseId, bool checkRe
|
|||
|
||||
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…
Reference in a new issue