You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a file type magic sequence have an offset, it cannot be recognised because the offset is applied to the magic byte sequence as well; see for instance Mp4 and M4v file types
Steps to reproduce the behavior:
Into the FileTypeValidatorTests.cs, add a test case for Mp4 file type and file name "test.mp4"
Run the test
Test throws an exception on GetFileType method
The text was updated successfully, but these errors were encountered:
@Chida82 I added this file to the test cases and it worked, can you please specify your problem and maybe provide me with some code example that I can use?
If a file type magic sequence have an offset, it cannot be recognised because the offset is applied to the magic byte sequence as well; see for instance Mp4 and M4v file types
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: