element-hq / element-hq/element-web

Links in messages are broken by keyword notifications

Open
#29,807 2 comments 8 reactions 0 assignees View on GitHub
A-Notifications Help Wanted O-Occasional S-Minor T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Create a notification keyword (e.g. "funding") in the desktop app Settings -> All Settings -> Notifications -> Keyword (write "funding") -> Add.
2. Someone else in a channel posts a message that contains an URL with the word "funding" in the path
3. The URL link generated & shown is now not correct - instead of providing a complete link, the link is truncated right after the keyword.

### Outcome

#### What did you expect?
First, a functioning link; secondarily, a notification of the keyword

#### What happened instead?
An incorrect link, and a notification of the keyword

![Image](https://github.com/user-attachments/assets/16289a46-cde7-475f-819d-ffc9fff2934a)

### Operating system

Linux, Ubuntu 24.10

### Application version

Element version: 1.11.97 Crypto version: Rust SDK 0.10.0 (3cc301d), Vodozemac 0.9.0

### How did you install the app?

Ubuntu snap store

### Homeserver

matrix.org

### Will you send logs?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.