metsw24-max opened a new pull request, #701:
URL: https://github.com/apache/logging-log4cxx/pull/701
A byte that fails to decode makes the JSON and XML/HTML escapers move the
cursor to input.end(), so anything after a malformed unit in a logged value is
dropped from the output:
"BEFORE_" + 0xFF + "_AFTER" -> BEFORE_� (trailing text lost)
Skip just the undecodable run, emit one U+FFFD for it, and carry on
escaping, the way Transcoder::decodeUTF8 already does. New jsonlayouttest case
covers it.
--
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]