FileTypeChecker icon indicating copy to clipboard operation
FileTypeChecker copied to clipboard

false negatives on Zip file validation

Open mrozx opened this issue 2 months ago • 0 comments

Describe the bug Since version 4.2.0 Zip file validation fails (false negative)

To Reproduce Steps to reproduce the behavior - c# code: // filebyte bytes array starts with [80,75,3,4...] bool isValid = FileTypeValidator.Is<FileTypeChecker.Types.ZipFile>(fileBytes); // isValid is false !!

Expected behavior isValid should be true

Additional context Works properly on version 4.1.1. Issue started on version 4.2.0. Tried to created zip files both with Windows context menu and WinRar Zip Archive. Both ways, the byte array starts the same.

Thanks Maoz

mrozx avatar Oct 30 '25 10:10 mrozx