Fixed: Ignore case when comparing torrent infohash

This commit is contained in:
Qstick 2023-08-20 15:25:50 -05:00 committed by GitHub
parent fc6ac3ddf1
commit 7986488c6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ namespace NzbDrone.Core.Blocklisting
{
if (release.InfoHash.IsNotNullOrWhiteSpace())
{
return release.InfoHash.Equals(item.TorrentInfoHash);
return release.InfoHash.Equals(item.TorrentInfoHash, StringComparison.InvariantCultureIgnoreCase);
}
return HasSameIndexer(item, release.Indexer);