1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-10-05 15:47:20 +02:00

Fixed: Ignore case when comparing torrent infohash

(cherry picked from commit 7986488c6d1687b0810b3bcac2c1dae725e770ac)
This commit is contained in:
Qstick 2023-08-20 15:25:50 -05:00
parent 681a36e34f
commit fef666831f

View File

@ -128,7 +128,7 @@ private bool SameTorrent(Blocklist item, TorrentInfo release)
{
if (release.InfoHash.IsNotNullOrWhiteSpace())
{
return release.InfoHash.Equals(item.TorrentInfoHash);
return release.InfoHash.Equals(item.TorrentInfoHash, StringComparison.InvariantCultureIgnoreCase);
}
return HasSameIndexer(item, release.Indexer);