nahsra / antisamy

a library for performing fast, configurable cleansing of HTML coming from untrusted sources
BSD 3-Clause "New" or "Revised" License
189 stars 92 forks source link

Typo in CssValidator #518

Closed jonah1und1 closed 3 weeks ago

jonah1und1 commented 3 weeks ago

There is a typo in CssValidator.java:208, which can cause a NPE if not replicated in the used policy.

Expected Behaviour cssPseudoElementExclusion

Current Behaviour cssPsuedoElementExclusion