hedgedoc/lib/web/imageRouter
David Mehren cf4344d9e0
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>
2020-12-27 19:51:12 +01:00
..
azure.js
filesystem.js
imgur.js
index.js Improve MIME-type checks of uploaded files 2020-12-27 19:51:12 +01:00
lutim.js
minio.js
s3.js