dajiaohuang opened a new pull request, #4371:
URL: https://github.com/apache/logging-log4j2/pull/4371
Fixes #4344.
The `%m{html}` renderer was an empty stub, so it removed each message. This
implements HTML-safe text escaping for both String and StringBuilder inputs
using the existing XML escaping utility. The pattern converter test confirms
that message markup is escaped and any existing output prefix is preserved.
Validation:
- `./mvnw -pl :log4j-core-test -am -Dtest=MessagePatternConverterTest
-Dsurefire.failIfNoSpecifiedTests=false test` — passed.
- `./mvnw -pl :log4j-core,:log4j-core-test spotless:check` — passed.
--
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]