diff options
author | Philip Molares | 2021-03-28 22:37:01 +0200 |
---|---|---|
committer | Philip Molares | 2021-03-29 22:38:42 +0200 |
commit | 5dbe99b4c7b8e136ebc6f05b6b618f044bfd4358 (patch) | |
tree | 09609618f4ee760dc6a47ea2956809f1617dbdcf /lib/response.js | |
parent | be3eee16034299150a897c30ae23df4af4e9d624 (diff) |
ImageUpload: Fix errors with .jpeg and .svg
This checks all files that claim to be an svg (by their extension) that they really are and defines the typeFromMagic accordingly
Files that got identified as jpg, but have the extension .jpeg get their extension fixed.
The files extensions will work in all cases now.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Diffstat (limited to 'lib/response.js')
0 files changed, 0 insertions, 0 deletions