ppkarwasz opened a new pull request, #4079:
URL: https://github.com/apache/logging-log4j2/pull/4079

   This change sanitizes the output of `MapMessage.asXml()` by replacing 
characters not permitted in XML 1.0 with the Unicode replacement character 
(`U+FFFD`).
   
   Although `MapMessage.asXml()` is not currently used by any layout, this 
aligns its behavior with `XmlLayout` and `Log4j1XmlLayout`, ensuring consistent 
and well-formed XML output across the codebase.
   
   Related to #4077 and #4078, but this should have no impact on log output.


-- 
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]

Reply via email to