-
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
svg is not recognized #57
Comments
Confirmed, and this should be relatively easy to detect, as it's an XML file that has "<svg" somewhere in the beginning... Looking at how much the library reads, I can see that for various files it reads up to 16KB (test available here by using FilterInputStream class ) , so SVG should usually be possible to detect. |
I used this svg file https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/410.svg
Seems like there is some issue in the
magic.gz
filewell it results in svg is not added to
com.j256.simplemagic.entries.MagicEntries#entryList
:/The text was updated successfully, but these errors were encountered: