-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels