According to the docs, the title of a shared note is supposed to be part of the encrypted content of a protected note and the note is unloaded from the browser upon closing of the protected session. However when viewing a shared note in the browser which contains a link to a protected note, the plain text title is visible.
I can confirm this only happens if the protected note is linked into the shared note while the protected session is active (not, for example when linking the protected note in by targeting tags while the protected session is closed).
Steps to reproduce
create a new note to be shared later
hit "protect the note" on some other note, thereby entering a protected session
While still in the protected session, link the protected note inside the to be shared note with @
close protected session
share the to be shared note
open the shared link - the title of the shared note is visible in plain text (while in trilium it is, correctly, obscured).
View from inside trilium:
Shared note in browser:
Error logs
No response
edit: clarified the steps to reproduce since the order of events seems to be important
Trilium Version
0.63.7
What operating system are you using?
Other Linux
What is your setup?
Server access only
Operating System Version
Arch Linux
Description
According to the docs, the title of a shared note is supposed to be part of the encrypted content of a protected note and the note is unloaded from the browser upon closing of the protected session. However when viewing a shared note in the browser which contains a link to a protected note, the plain text title is visible.
I can confirm this only happens if the protected note is linked into the shared note while the protected session is active (not, for example when linking the protected note in by targeting tags while the protected session is closed).
Steps to reproduce
@
View from inside trilium:
Shared note in browser:
Error logs
No response
edit: clarified the steps to reproduce since the order of events seems to be important