Allow all URLs schemes for in-chat messages #18468
Labels
A-URL-Previews
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Minor
Impairs non-critical functionality or suitable workarounds exist
T-Defect
Steps to reproduce
What happened?
It looks like Element has a hard-coded list of schemes it will consider for a URL, therefore not converting some valid URLs into clickable links.
The only link that is actually clickable in this image is the first one. file:// and ftp:// are recognized but don't do anything when clicked. All the other links where the scheme was cut off also don't do anything when you click on them.
What did you expect?
Element recognizes all URLs independently of their scheme and upon clicking them invokes the appropriate system handler to launch the default application registered for the scheme.
On the other hand, file:// URLs should probably be rejected, even though they work properly from the OS side, i.e. Win+R "file://C:/example.log" correctly opens the file in the default application for .log files.
I don't know about data: URIs but those probably cannot be handled properly so they're fine as is.
Operating system
Windows 10
Application version
Element version: 1.7.34, olm version: 3.2.3
How did you install the app?
https://element.io/get-started
The text was updated successfully, but these errors were encountered: