HackMD/lib/models
Sheogorath 735b806d5d
Add check for noteId length
As we know the length of an UUID we can check if the base64 string
of the provided UUID is long enough for a legacy base64 encoded nodeId
and stop processing it in legacy mode, if it's not the case.

This should make the ugly warning way less common.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-04-10 16:10:34 +02:00
..
author.js Use strict mode in all backend files 2017-03-14 13:02:43 +08:00
index.js Change config to camel case with backwards compatibility 2018-03-25 19:08:14 +02:00
note.js Add check for noteId length 2018-04-10 16:10:34 +02:00
revision.js Fix field type to prevent data truncation of authorship (#721) 2018-02-09 14:27:06 +01:00
temp.js Use strict mode in all backend files 2017-03-14 13:02:43 +08:00
user.js Initial support for SAML authentication 2017-11-28 18:52:24 +09:00