diff options
author | Sheogorath | 2018-06-24 00:32:41 +0200 |
---|---|---|
committer | Sheogorath | 2018-06-24 00:32:50 +0200 |
commit | b7b621822c518f659f775343332945bc545cb094 (patch) | |
tree | 79cde31f6348815538395fbdc057f1d65bdd434d /public/js/lib/editor/config.js | |
parent | 7c7cc289f2c2b2e33a32ea32a6e97ea1410cc63e (diff) |
Fix possible line-ending issues for init note
By uploading a malicous note currently it is possible to prevent this
note from being edited. This happens when using Windows line endings.
With this commit we remove all `\r` characters from the notes and this
way prevent this problem.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to 'public/js/lib/editor/config.js')
0 files changed, 0 insertions, 0 deletions