jmestwa-coder opened a new pull request, #666:
URL: https://github.com/apache/logging-log4cxx/pull/666

   ## Summary
   
   Fix HTMLLayout attribute serialization to preserve logger and thread values 
containing normalization-sensitive characters.
   
   ## Changes
   
   - Add `Transform::appendEscapingAttribute()` for HTML/XML attribute-specific 
escaping
   - Use attribute escaping for `title` attributes in `HTMLLayout`
   - Preserve newline, tab, and carriage return characters using character 
references
   - Keep existing element body escaping behavior unchanged
   - Add regression coverage for normalization-sensitive attribute values
   
   ## Problem
   
   `HTMLLayout` previously used `appendLegalCharacters()` for quoted attribute 
values.
   
   Characters such as newline and tab were emitted directly into `title` 
attributes, allowing XML attribute normalization to alter serialized 
logger/thread values after parsing.


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