1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-22 15:56:58 +00: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);