java-html-sanitizer
java-html-sanitizer copied to clipboard
Stripping off the contents when the extra comment tag has added with never ending
Hi,
We are using this library in Zimbra for sanitization of the e-mail body and during sanitization of the customer-generated HTML, we came across the following situation when we have extra comment tag in html code (<!--) sanitization is not working as during sanitization, it is not able to parse properly and the whole HTML is stripped off.
Actually inside
It will be great if someone can guide me on how to handle this situation or it can be considered as an enhancement or bugfix.
Can you give us a more detailed test case please?
On Apr 7, 2022, at 6:30 PM, rupeshtelus @.***> wrote:
Hi,
We are using this library in Zimbra for sanitization of the e-mail body and during sanitization of the customer-generated HTML, we came across the following situation when we have extra comment tag in html code (<!--) sanitization is not working as during sanitization, it is not able to parse properly and the whole HTML is stripped off.
I have updated the issue with more details @jmanico . If anything more is required you can tell me , Thanks .
@jmanico -- @rupeshtelus has updated the details of the issue. Can you please take a look and let us know when this can be fixed? Many of our customers are facing this issue and are looking for updates on it.