mattermost/mattermost
在 GitHub 查看[Bug]: Links containing `&` are broken in notification emails (replaced with &)
Open
#33,946 建立於 2025年9月23日
Help Wanted
描述
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