issue 534: remove XSS code

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9661 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-10-17 06:23:59 +00:00
parent b49fbf4da1
commit 6ee154c21b
2 changed files with 8 additions and 2 deletions

View file

@ -33,7 +33,12 @@ class FuncIncTest extends PHPUnit_Framework_TestCase
array(
"<img src=\"invalid\"\nonerror=\"alert(1)\" />",
'<img src="invalid" />'
)
),
// issue 534
array(
'<img src=\'as"df dummy=\'"1234\'" 4321\' asdf/*/>*/" onerror="console.log(\'Yet another XSS\')">',
'<img src="as&quot;df dummy=" />*/" onerror="console.log(\'Yet another XSS\')">'
),
);
}