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 9d67c18254
commit 1ad84a7c44

View file

@ -122,7 +122,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);