HTMLPurifier XSS Attacks Smoketest

XSS attacks courtsey of http://ha.ckers.org/xss.html

The last segment of tests regarding blacklisted websites is not applicable at the moment, but when we add that functionality they'll be relevant.

Requires PHP 5.

'); set_include_path('../library' . PATH_SEPARATOR . get_include_path()); require_once 'HTMLPurifier.php'; $xml = simplexml_load_file('xssAttacks.xml'); $purifier = new HTMLPurifier(); ?>
attack as $attack) { ?> purify($attack->code); ?>
NameRawOutputRender
name); ?>