1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-01-25 11:13:39 +02:00

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

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);