yyqdbngt opened a new pull request, #2820: URL: https://github.com/apache/rocketmq-dashboard/pull/2820
## Summary - replace alert template placeholders in a single regex pass - quote replacement values so dollar signs and backslashes remain literal - prevent placeholder-looking alert content from being expanded recursively ## Why Sequential string replacement treated placeholder syntax inside user-controlled alert values as a second template directive, changing the notification content. ## Testing - `JAVA_HOME=/opt/homebrew/opt/openjdk@21 PATH=/opt/homebrew/opt/openjdk@21/bin:$PATH mvn -f server/pom.xml -Dtest=AlertNotificationTemplateTest test` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
