Fix phpcs
This commit is contained in:
parent
992645c13d
commit
2cecd449cf
@ -351,7 +351,7 @@ class SecurityTest extends PHPUnit\Framework\TestCase
|
|||||||
// With alphanohtml, we must convert the html entities like n
|
// With alphanohtml, we must convert the html entities like n
|
||||||
$result=GETPOST("param8", 'alphanohtml');
|
$result=GETPOST("param8", 'alphanohtml');
|
||||||
print __METHOD__." result=".$result."\n";
|
print __METHOD__." result=".$result."\n";
|
||||||
$this->assertEquals("Hacker<svg onload='console.log(''123'')'", $result);
|
$this->assertEquals("Hacker<svg onload='console.log(123)'", $result);
|
||||||
|
|
||||||
$result=GETPOST("param9", 'alphanohtml');
|
$result=GETPOST("param9", 'alphanohtml');
|
||||||
print __METHOD__." result=".$result."\n";
|
print __METHOD__." result=".$result."\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user