Skip to content

Mimetype test fix - #121

Merged
rkoopmans merged 1 commit into
tinify:masterfrom
wcreateweb:unit-test-fix-libmagic
Jul 27, 2026
Merged

Mimetype test fix#121
rkoopmans merged 1 commit into
tinify:masterfrom
wcreateweb:unit-test-fix-libmagic

Conversation

@tijmenbruggeman

Copy link
Copy Markdown
Collaborator

VFS creates virtual files which are usually empty buffers. Depending on the version of libmagic (c library used to read files) of the OS, this might succeed or fail.

Similar bug in python fs library ahupp/python-magic#246

@rkoopmans
rkoopmans merged commit f0f4b8f into tinify:master Jul 27, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants