mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
* Change regex to reduce false positive transforms on incoming webhook text Adds an additional condition to the 2nd capture group to ensure we don't match another `|` char See https://github.com/mattermost/mattermost-server/issues/21800 for details * Add test per suggested comment (switch Pi-hole URL out for Mattermost one 😉) Signed-off-by: Adam Warner <me@adamwarner.co.uk> --------- Signed-off-by: Adam Warner <me@adamwarner.co.uk> Co-authored-by: Mattermost Build <build@mattermost.com> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com>