HackMD/lib
Sheogorath b7b621822c
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>
2018-06-24 00:32:50 +02:00
..
config Fix possible error if HackMD is started with wrong workdir 2018-06-23 23:01:01 +02:00
migrations Merge pull request #830 from SISheogorath/feature/GDPR 2018-06-17 23:33:57 +02:00
models Merge pull request #830 from SISheogorath/feature/GDPR 2018-06-17 23:33:57 +02:00
ot Change config to camel case with backwards compatibility 2018-03-25 19:08:14 +02:00
web Fix possible error if HackMD is started with wrong workdir 2018-06-23 23:01:01 +02:00
workers refactor: Remove require extension filename 2017-05-08 19:29:06 +08:00
csp.js Fix CSP for disqus and Google Analytics 2018-03-30 16:33:52 +02:00
history.js Improve history migration performance 2018-03-10 16:51:00 +08:00
letter-avatars.js Move letter-avatars into own request 2018-04-17 19:06:59 +02:00
logger.js refactor(logger): Refactor logger.js 2017-05-08 19:24:37 +08:00
realtime.js Fix requests for deleted users 2018-05-25 16:15:18 +02:00
response.js Fix possible line-ending issues for init note 2018-06-24 00:32:50 +02:00
utils.js switch to __dirname 2017-06-02 11:34:35 +01:00