go-vikunja / vikunja

Mirror of vikunja from https://code.vikunja.io/api
GNU Affero General Public License v3.0
1.03k stars 71 forks source link

URL in description field makes assumptions about the schema url #306

Closed Heiss closed 3 months ago

Heiss commented 3 months ago

Description

If you enter a link, which does not start with http(s), it removes the link after save. It shows it first, but after a page reload, the link is gone. This behaviour is unexpected, because this is an assumption about links and i would like to use links to open up the tool obsidian with the following obsidian://open?file=Home.md, also this disable the description field for other use cases like links to email programs etc.

Removing this assumption would open up the tool to local url schemas, but unfortunality this could be a security issue. But big players like todoist does have this functionality, so maybe it is not so big as first expected.

Vikunja Version

v0.24.1

Browser and version

No response

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

No response

kolaente commented 3 months ago

Fixed in e2a87036e070305291fd7ac1cfc9fe02c847b697. However, it looks like this was recently broken in Tiptap - the implementation in Vikunja will not work until their fix is merged, released and updated in Vikunja.