-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
A-URL-PreviewsO-UncommonMost users are unlikely to come across this or unexpected workflowMost users are unlikely to come across this or unexpected workflowS-MinorImpairs non-critical functionality or suitable workarounds existImpairs non-critical functionality or suitable workarounds existT-Defect
Description
Steps to reproduce
- Copy-paste a URL and accidentally append some non-printing unicode (e.g. a U+2066 LTR ISOLATE codepoint), sending it as plain text from a Matrix client like EX.
- EW spots the URL and linkifies it
- But linkify includes the non-printing sequence as part of the URL
For instance:
https://example.com/
(which includes an invisible U+2066 on the end)
gets linkified to be
causing mass confusion
Outcome
What did you expect?
Linkify's regexp should not pick up random non-printing unicode on the end of URLs.
What happened instead?
chaos
Operating system
macOS
Browser information
No response
URL for webapp
No response
Application version
Element Nightly version: 2025072101 Crypto version: Rust SDK 0.12.0 (b30f1f3), Vodozemac 0.9.0
Homeserver
matrix.org
Will you send logs?
No
Metadata
Metadata
Assignees
Labels
A-URL-PreviewsO-UncommonMost users are unlikely to come across this or unexpected workflowMost users are unlikely to come across this or unexpected workflowS-MinorImpairs non-critical functionality or suitable workarounds existImpairs non-critical functionality or suitable workarounds existT-Defect