Non-http[s] links in Deck can't be opened
Note was previously logged in nextcloud/deck, but a comment suggested it should be here.
Describe the bug Links in the description of Deck Cards that do not start http / https cannot be opened.
To Reproduce Steps to reproduce the behavior:
- Create a new Card
- In the Description, add three links:
- Name: Google; URL: www.google.com/maps
- Name: Joplin Example; URL: joplin://x-callback-url/openNote?id=abc
- Name: File Example; URL: file:///C:/Users/user.name/Folder
Expected behavior Clicking the links in the cards should follow this pattern:
- Click link -> Opens preview box, showing preview (if available), link, Copy/Edit/Remove actions; clicking the preview or link opens the link per browser configuration.
Observed behavior
Clicking links which do not start (I assume) http[s]:// opens preview box, showing NO preview, link, Copy/Edit/Remove actions; nothing in the box can be clicked to open the link.
Workaround Clicking the link, clicking the Copy Link button and pasting that URL into a new tab/window works as expected, but is a multi-step process.
Screenshots
Client details:
- OS: Windows 10
- Same behaviour on Firefox 133.0.3 and Edge Version 131.0.2903.112 (Official build) (64-bit)
- Device: Desktop Note:
- Appears to function as expected on Deck Mobile app (Android), although the File type link causes a full-on crash of the App. Anyone want me to log that?
Operating system: Web server: Database: PHP version: Nextcloud version: (see Nextcloud admin page) Where did you install Nextcloud from:
Docker / official Nextcloud AIO Version: "Nextcloud Hub 9 (30.0.4)" Deck Version 1.14.2
Login as admin user into your Nextcloud and access http://example.com/index.php/settings/integrity/failed paste the results here.
No errors have been found.