hedgedoc/lib/web/note
Erik Michelson 124b064252
Check for existing notes on POST and dont override them
Previously one could override notes in FreeURL-mode by sending multiple POST requests to the /new/<alias> endpoint. This commit adds a check for an already existing note with the requested alias and returns a HTTP 409 Conflict error in case that happens.

Signed-off-by: Erik Michelson <opensource@erik.michelson.eu>
2021-03-29 23:00:34 +02:00
..
actions.js Remove pdf export code 2020-11-26 21:09:23 +01:00
controller.js Add HTTP 404 error on non-existent note downloads 2021-02-17 22:02:47 +01:00
router.js Move showPublishNote and publishNoteActions to note controller 2019-10-27 15:23:38 +01:00
slide.js Inline renderPublishSlide 2019-10-27 15:50:24 +01:00
util.js Check for existing notes on POST and dont override them 2021-03-29 23:00:34 +02:00