Files
hedgedoc-hedgeagent/lib/web/imageRouter/index.js
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

2.4 KiB