Search first
What Happened?
I inserted a pdf file protected with a password to my Logseq journal. When I tried to open that file, Logseq didn't give me a chance to enter the password and crashed.
Reproduce the Bug
- Find a pdf file protected by a password.
- Drag the file to somewhere in Logseq.
- Click the link of the file in Logseq.
- You'll see Logseq's error message.
Expected Behavior
I expected to enter the password and read the file normally.
Screenshots

Desktop or Mobile Platform Information
Windows 11,
Additional Context
No response
Are you willing to submit a PR? If you know how to fix the bug.