File: |
tests/JsXssTest.php |
Role: |
Class source |
Content type: |
text/plain |
Description: |
Class source |
Class: |
PHP Anti XSS Filter
Remove tags from HTML that may cause XSS attacks |
Author: |
By Lars Moelleken |
Last change: |
#99 optimize regex to "_sanitize_naughty_javascript" by adding a negative look behind
- add test cases
- change js test result (no longer false positive)
Signed-off-by: Benjamin Fahl <git@fahl-design.de>
[+]: optimize decoding the html-tags
thanks @gharlan for the fix: https://github.com/voku/anti-xss/issues/85#issuecomment-981093761
|
Date: |
3 months ago |
Size: |
16,344 bytes |
|
|
|