You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is pretty easy to create a pair of text documents with the same content, the same content would result in the same ResourceId. We should prevent creation of resources with duplicated id.
There are 2 ways of solving this:
Calculate ResourceId of note being saved, lookup into the index for this id.
If the id is already existing — forbid saving of the note.
Automatically add nonce to the note.
This requires changing structure of a note — it can't be plain text anymore,
we need to add nonce into separate field of it.
The text was updated successfully, but these errors were encountered:
It is pretty easy to create a pair of text documents with the same content, the same content would result in the same
ResourceId
. We should prevent creation of resources with duplicated id.There are 2 ways of solving this:
ResourceId
of note being saved, lookup into the index for this id.If the id is already existing — forbid saving of the note.
This requires changing structure of a note — it can't be plain text anymore,
we need to add nonce into separate field of it.
The text was updated successfully, but these errors were encountered: