Signal-desktop: Mastodon URLs are not clickable

Created on 5 Apr 2019  路  4Comments  路  Source: signalapp/Signal-Desktop

Bug Description

URLs containing @聽is not parsed at an URL.

Steps to Reproduce

  1. Paste in an url containing the letter '@', such as https://mastodon.social/@HackerNewsBot

Actual Result:

The link is not clickable.

Expected Result:

The link should be clickable.
(These links are clickable in the Android client).

Screenshots

linkbug

Platform Info

Signal Version: v1.23.2

Operating System: Ubuntu 18.10

Linked Device Version: 4.36.2

All 4 comments

Yep, due to the way the some browsers parse the @ sign in urls, we explicitly disabled linkification for any url with an @ in it.

This is change is annoying as many useful URLs no longer work.
Which browsers have broken behavior on parsing "@" in a passed URL and what are they doing with it?

Hmm. Would like to know as well. Isn鈥檛 this an issue that rather needs to be addressed in the affected browsers? And why are these URLs being parsed correctly in the Signal mobile client anyways. Is it only an issue with desktop browsers?

We've done a little bit of research on this - feel free to add a feature request to allow @ signs in link path segments (but still don't linkify if they are in the link's domain).

Was this page helpful?
0 / 5 - 0 ratings