From 6fedebf2a9756cb7bc59f63a72bccf60bb79c27a Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Tue, 16 Jun 2020 13:57:11 -0700 Subject: [PATCH] Lower-case SHA-1 for search --- DICUI.Library/Utilities/DumpEnvironment.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DICUI.Library/Utilities/DumpEnvironment.cs b/DICUI.Library/Utilities/DumpEnvironment.cs index d68bc677..2e90be47 100644 --- a/DICUI.Library/Utilities/DumpEnvironment.cs +++ b/DICUI.Library/Utilities/DumpEnvironment.cs @@ -701,7 +701,7 @@ namespace DICUI.Utilities { if (GetISOHashValues(hashData, out long size, out string crc32, out string md5, out string sha1)) { - List newIds = access.ProcessSearch(wc, sha1); + List newIds = access.ProcessSearch(wc, sha1.ToLowerInvariant()); if (info.MatchedIDs.Any()) info.MatchedIDs = info.MatchedIDs.Intersect(newIds).ToList(); else