Non-embedded attachments are throwing error about UNC path

Joplin 2.7.15 (prod, win32)
Client ID: 1a2a9a214b0a4bf39d27c9dadb687b91
Sync Version: 3
Profile Version: 41
Keychain Supported: Yes
Revision: 8352e23
Windows 10 19044

This seems like if it were a bug, it'd be a bigger deal and more people would have this issue, which is why I'm posting here. However, it does seem like a bug-- I'll bring it to Github, unless someone here knows what this is.

On any of my Notes that contain a Linked attachment (not where the item is embedded), Ctrl+Clicking the link causes Windows to throw an error:

Windows cannot access
\\C:\Users\kauffy\{internal name of attachment.filetypeextension}

It does this for both new Notes I create, and old notes I have already created.
For some reason, it's causing Windows to try to reach the file path as though it were a machine name: "Windows can’t find the host name "C:" using DNS."

I used the Joplin dev tools to look in at the source, and it appears that the HTML links to those items contain a // that breaks retrieving the file.

In the source, the link appears like this:
href="file://C:/Users/kauffy/.config/joplin-desktop/resources/da244c64e05b44b9a6600b3309facffb.pdf"

However, if I go in and delete the two /'s after the file:, the link will work, like so:
href="file:C:/Users/kauffy/.config/joplin-desktop/resources/da244c64e05b44b9a6600b3309facffb.pdf"

This should be this bug here.

1 Like

You are correct. I was overthinking the search terms and didn't find it.

However, it looks like nobody has addressed it, as one attempt was made that was a bit hacky, and the change was rejected, and it doesn't look like anything else was entered again.

But the other user and I can't be the only users of Windows, nor even the only users of the Windows rich editor. I'd think there'd be many more complaints.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.