dxbjavid opened a new pull request, #747:
URL: https://github.com/apache/commons-text/pull/747

   Noticed translate calls Character.toChars(entityValue) for values above 
0xFFFF without checking the upper code point bound, so a numeric reference like 
`�` (or `�`) throws IllegalArgumentException instead of being 
left alone. unescapeHtml4 and unescapeXml run this over untrusted markup, where 
every other malformed entity is silently ignored. Reject out-of-range code 
points the same way, by returning 0.


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