mattermost/mattermost
[Bug]: Links containing `&` are broken in notification emails (replaced with &)
Aperta
#33.946 aperta il 23 set 2025
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
- I have checked the issue tracker and have not found an issue that matches the one I'm filing.
- This issue is not a troubleshooting question. Troubleshooting questions go here: https://forum.mattermost.com/c/trouble-shoot/16.
- This issue is not a feature request. You can request features and make product suggestions here: https://mattermost.uservoice.com/forums/306457-general/.
- This issue reproduces on one of the currently supported server versions.
- I have read the contribution guidelines and the Mattermost Handbook Contribution Guidelines.
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