updated test

This commit is contained in:
Sebastian Mendel
2007-03-15 15:52:04 +00:00
parent 82a014ca7a
commit 38c50e0362

View File

@@ -16,7 +16,7 @@ class PMA_sanitize_test extends PHPUnit_Framework_TestCase
{
public function testXssInHref()
{
$this->assertEquals('<a href="" target="target">link</a>',
$this->assertEquals('[a@javascript:alert(\'XSS\');@target]link</a>',
PMA_sanitize('[a@javascript:alert(\'XSS\');@target]link[/a]'));
}