summaryrefslogtreecommitdiff
path: root/lib/models/revision.js
diff options
context:
space:
mode:
authorDavid Mehren2020-12-27 11:31:01 +0100
committerDavid Mehren2020-12-27 19:51:12 +0100
commitcf4344d9e031d2e0bf70b8d8f75ab27ecf8d29ad (patch)
tree002d52ce213dd53e1d9b0465e0335bd7d2004cd2 /lib/models/revision.js
parentf83e4d66ed2b6a7f7f8939e2eb63d262387e9374 (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/revision.js')
0 files changed, 0 insertions, 0 deletions