forked from Wavyzz/dolibarr
Fix phpcs
This commit is contained in:
@@ -351,7 +351,7 @@ class SecurityTest extends PHPUnit\Framework\TestCase
|
||||
// With alphanohtml, we must convert the html entities like n
|
||||
$result=GETPOST("param8", 'alphanohtml');
|
||||
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');
|
||||
print __METHOD__." result=".$result."\n";
|
||||
|
||||
Reference in New Issue
Block a user