hedgedoc/lib/web
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
..
auth Fix crash when OAuth2 config parameters are missing 2020-11-30 15:04:30 +01:00
imageRouter Improve MIME-type checks of uploaded files 2020-12-27 19:51:12 +01:00
middleware
note
baseRouter.js
historyRouter.js
statusRouter.js
userRouter.js
utils.js