Skip to content

Commit

Permalink
Merge pull request from GHSA-p94c-8qp5-gfpx
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-anne committed Apr 20, 2022
1 parent 1aa9fcc commit ac9f1f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Toolbox.php
Expand Up @@ -309,7 +309,7 @@ public static function unclean_cross_side_scripting_deep($value)
public static function getHtmLawedSafeConfig(): array
{
$config = [
'elements' => '* -applet -canvas -embed -form -object -script',
'elements' => '* -applet -canvas -embed -form -object -script -link',
'deny_attribute' => 'on*, srcdoc',
'comment' => 1, // 1: remove HTML comments (and do not display their contents)
'cdata' => 1, // 1: remove CDATA sections (and do not display their contents)
Expand Down

0 comments on commit ac9f1f0

Please sign in to comment.