-
-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
False positive for "wordContainingFile(" in _sanitize_naughty_javascript
#99
Comments
Good catch, can you create a pull request? 👍 |
Yes for sure :) I will push one later today |
…negative look behind - add test cases - change js test result (no longer false positive) Signed-off-by: Benjamin Fahl <git@fahl-design.de>
… false positive cases Signed-off-by: Benjamin Fahl <git@fahl-design.de>
Signed-off-by: Benjamin Fahl <git@fahl-design.de>
I fixed this one and found an other, |
Signed-off-by: Benjamin Fahl <git@fahl-design.de>
…_check Resolve #99 - Optimize "_sanitize_naughty_javascript"
I think this issue is similar to a problem I'm having with text like Would a similar change for system work? |
Hi, I think i stumbled on a false positive in
_sanitize_naughty_javascript
What is this feature about (expected vs actual behaviour)?
How can I reproduce it?
Does it take minutes, hours or days to fix?
Any additional information?
https://github.com/voku/anti-xss/blob/master/src/voku/helper/AntiXSS.php#L1680:L1721
blablafile(n)
is no valid jsThe text was updated successfully, but these errors were encountered: