diff options
author | David Mehren | 2020-12-27 11:31:01 +0100 |
---|---|---|
committer | David Mehren | 2020-12-27 19:51:12 +0100 |
commit | cf4344d9e031d2e0bf70b8d8f75ab27ecf8d29ad (patch) | |
tree | 002d52ce213dd53e1d9b0465e0335bd7d2004cd2 /lib/models | |
parent | f83e4d66ed2b6a7f7f8939e2eb63d262387e9374 (diff) |
Improve MIME-type checks of uploaded files
This commit adds a check if the MIME-type of the uploaded file (detected using the magic bytes) matches the file extension.
Signed-off-by: David Mehren <git@herrmehren.de>
Diffstat (limited to 'lib/models')
0 files changed, 0 insertions, 0 deletions