Fix split zip parts not found when the .ZIP is uppercase

This commit is contained in:
Iain
2026-10-04 02:10:35 +01:00
committed by Adam Hathcock
parent 2071e9036a
commit 23e667ed24
2 changed files with 12 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ internal static class ZipArchiveVolumeFactory
part1.DirectoryName!,
String.Concat(
m.Groups[1].Value,
Regex.Replace(m.Groups[2].Value, @"[^xz]", ""),
Regex.Replace(m.Groups[2].Value.ToLowerInvariant(), @"[^xz]", ""),
index.ToString(Constants.DefaultCultureInfo).PadLeft(2, '0')
)
)