Links to application URL dont work #358

Open
opened 2026-02-04 18:41:46 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @bigrup on GitHub (Sep 25, 2023).

Hello,

I'm trying to link to an external application, but the link inside Planka doesn't appear to be passing the URL to the browser.

I'm trying to open a specific obsidian note. When you use obisidian you can get an external deeplinked URL for that note, in this format

obsidian://open?vault=xxx&file=yyyy

I've tried putting this in raw, and also in the markdown format in the 'description' section of a note. [linktonote](obsidian://...)

The browser launches a new tab, but the URL is not transferred so the tab is blank.

i'm wondering if its a security concern and that its being dropped because its not using the http(s) schema...

Am I just doing this wrong or does this not work please?

Originally created by @bigrup on GitHub (Sep 25, 2023). Hello, I'm trying to link to an external application, but the link inside Planka doesn't appear to be passing the URL to the browser. I'm trying to open a specific obsidian note. When you use obisidian you can get an external deeplinked URL for that note, in this format `obsidian://open?vault=xxx&file=yyyy` I've tried putting this in raw, and also in the markdown format in the 'description' section of a note. `[linktonote](obsidian://...)` The browser launches a new tab, but the URL is not transferred so the tab is blank. i'm wondering if its a security concern and that its being dropped because its not using the http(s) schema... Am I just doing this wrong or does this not work please?
OVERLORD added the enhancement label 2026-02-04 18:41:46 +03:00
Author
Owner

@coalwater commented on GitHub (Oct 6, 2023):

Just to add some extra context, I tried this yesterday and it seems when I hover on the link it has a javascript:void(0) link which behaves as expected above, opens an empty new tab.

I wanted to also verify that my browser actually supports those links, so I copy and pasted the link into the browser, and it did indeed switch to obsidian app and open the correct note.

@coalwater commented on GitHub (Oct 6, 2023): Just to add some extra context, I tried this yesterday and it seems when I hover on the link it has a `javascript:void(0)` link which behaves as expected above, opens an empty new tab. I wanted to also verify that my browser actually supports those links, so I copy and pasted the link into the browser, and it did indeed switch to obsidian app and open the correct note.
Author
Owner

@meltyshev commented on GitHub (Oct 13, 2023):

Hi! We use the default react-markdown url transformer. Custom protocols can easily be excluded from sanitization, but this can add security issues. For example, on GitHub you cannot use protocols other than http/https in Markdown and there's clearly something behind it. We'll probably add the most common protocols to the exceptions, but we'll look into this first to see what problems there might be with it.

@meltyshev commented on GitHub (Oct 13, 2023): Hi! We use the default [react-markdown](https://github.com/remarkjs/react-markdown#urltransform) url transformer. Custom protocols can easily be excluded from sanitization, but this can add security issues. For example, on GitHub you cannot use protocols other than http/https in Markdown and there's clearly something behind it. We'll probably add the most common protocols to the exceptions, but we'll look into this first to see what problems there might be with it.
Author
Owner

@coalwater commented on GitHub (Oct 20, 2023):

I think a good in between option would be to allow a list of protocols via an environment variable, not much UI is needed to support it.
Does this sound like something easy/easier to implement ?

@coalwater commented on GitHub (Oct 20, 2023): I think a good in between option would be to allow a list of protocols via an environment variable, not much UI is needed to support it. Does this sound like something easy/easier to implement ?
Author
Owner

@santosh commented on GitHub (Nov 10, 2023):

Or how about having a option in preferences to enable all protocols? With some kind of warning when it is checked?

The default settings would still have it disabled.

@santosh commented on GitHub (Nov 10, 2023): Or how about having a option in preferences to enable all protocols? With some kind of warning when it is checked? The default settings would still have it disabled.
Author
Owner

@meltyshev commented on GitHub (Nov 10, 2023):

Or how about having a option in preferences to enable all protocols? With some kind of warning when it is checked?

The default settings would still have it disabled.

That's also a good idea!

@meltyshev commented on GitHub (Nov 10, 2023): > Or how about having a option in preferences to enable all protocols? With some kind of warning when it is checked? > > The default settings would still have it disabled. That's also a good idea!
Author
Owner

@rubin110 commented on GitHub (Apr 28, 2025):

I literally just setup Planka because task management in Obsidian isn't filling the gap left by leaving Trello. 😅 I would love to see this implemented, if not, Planka has still been great. Thank you for contributing to it.

Could this help?
https://github.com/remarkjs/react-markdown/issues/537#issuecomment-766156086

@rubin110 commented on GitHub (Apr 28, 2025): I literally just setup Planka because task management in Obsidian isn't filling the gap left by leaving Trello. 😅 I would love to see this implemented, if not, Planka has still been great. Thank you for contributing to it. Could this help? https://github.com/remarkjs/react-markdown/issues/537#issuecomment-766156086
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#358