Skip to content
Snippets Groups Projects
Commit d9129c8d authored by Nick Schermer's avatar Nick Schermer
Browse files

Only collect image data if the mime-type is image/* (bug #2913).

Bit of a rough check, but it should be save. Invalid or empy svg files
are not detected as image/svg+xml.
Another advantage is that not all files are loaded to check if
it is an image, only files that look like images.
parent ae5f4024
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment