Skip to content

Commit 819f92a

Browse files
authored
improv. fix for style attribute
1 parent 33dfff1 commit 819f92a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/Controller/Component/EySecurityComponent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function xssProtection($string)
3030
{
3131

3232
require_once ROOT . '/vendors/anti-xss/AntiXSS.php';
33-
return htmLawed($string, ['safe' => 1, 'deny_attribute' => '* -title -src -alt']);
33+
return htmLawed($string, ['safe' => 1, 'deny_attribute' => '* -title -src -alt -style']);
3434

3535
}
3636
}

0 commit comments

Comments
 (0)