diff options
author | Malf Furious <m@lfurio.us> | 2018-10-31 21:23:27 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2018-10-31 21:23:27 -0400 |
commit | 2cf8d6be4191512567dc7498d3163627aacd1cf0 (patch) | |
tree | 7d5a6a5da542fac0ca4701122a53516358bfb95a /app/view | |
parent | 175020d9acd5742d3a3cea4aa8e427ecc046b14b (diff) | |
download | scrott-2cf8d6be4191512567dc7498d3163627aacd1cf0.tar.gz scrott-2cf8d6be4191512567dc7498d3163627aacd1cf0.zip |
Fix bug in image support
Adds 'image/x-ms-bmp' as an allowed mimetype for images, and is
equivalent to 'image/bmp'. The image module is also updated to expect
this new type.
I found an image of mine that, when uploaded, PHP thought was
'image/bmp', so it was allowed. However, when cropping, PHP though it
was 'image/x-ms-bmp' and failed to lookup a loading/writing function.
Signed-off-by: Malf Furious <m@lfurio.us>
Diffstat (limited to 'app/view')
0 files changed, 0 insertions, 0 deletions