diff --git a/BurnOutSharp/FileType/MicrosoftCAB.cs b/BurnOutSharp/FileType/MicrosoftCAB.cs index dff92bac..3f9788b7 100644 --- a/BurnOutSharp/FileType/MicrosoftCAB.cs +++ b/BurnOutSharp/FileType/MicrosoftCAB.cs @@ -37,7 +37,8 @@ namespace BurnOutSharp.FileType // If an individual entry fails try { - string tempFile = Path.Combine(tempPath, sub.Filename); + // The trim here is for some very odd and stubborn files + string tempFile = Path.Combine(tempPath, sub.Filename.TrimEnd('.')); sub.ExtractTo(tempFile); } catch { }