text icon indicating copy to clipboard operation
text copied to clipboard

Non-http[s] links in Deck can't be opened

Open banigithub-2 opened this issue 11 months ago • 0 comments

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:

  1. Create a new Card
  2. In the Description, add three links:
  3. Name: Google; URL: www.google.com/maps
  4. Name: Joplin Example; URL: joplin://x-callback-url/openNote?id=abc
  5. Name: File Example; URL: file:///C:/Users/user.name/Folder

Expected behavior Clicking the links in the cards should follow this pattern:

  1. 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 Image Image

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.

banigithub-2 avatar Jan 10 '25 18:01 banigithub-2