PHP Classes

File: tests/XssArrayTest.php

Recommend this page to a friend!
  Classes of Lars Moelleken   PHP Anti XSS Filter   tests/XssArrayTest.php  
File: tests/XssArrayTest.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
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>
Date: 2 years ago
Size: 2,709 bytes

You need to be a registered user and login to get this file.

1,616,907 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on: