mattermost/mattermost

[Bug]: Links containing `&` are broken in notification emails (replaced with &)

Aperta

#33.946 aperta il 23 set 2025

 (1 commento) (1 reazione) (1 assegnatario)TypeScript (7823 fork)batch import
Help Wanted

Metriche repository

Star
 (32.880 stelle)
Metriche merge PR
 (Merge medio 6g 5h) (318 PR mergiate in 30 g)

Descrizione

Before you file a bug report

Mattermost Server Version

10.5.10 + 11.0.0 (community)

Steps to reproduce

Receive a notification email for a new message that contains a link with multiple query string arguments separated by &, such as https://example.com/?foo=bar&hello=world

Expected behavior

The link remains as https://example.com/?foo=bar&hello=world

Observed behavior

The link includes HTML entities, both in the displayed URL and in the href: https://example.com/?foo=bar&hello=world

Guida contributor