mirror of
https://github.com/plankanban/planka.git
synced 2026-02-05 00:39:58 +03:00
Links to application URL dont work #358
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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=yyyyI'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?
@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.
@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.
@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 ?
@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.
@meltyshev commented on GitHub (Nov 10, 2023):
That's also a good idea!
@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