Skip to content

Commit

Permalink
added img to unneeded tags of xss middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdulici committed May 14, 2021
1 parent 5803f81 commit 3c60543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Config/firewall.php
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@
'#-moz-binding[\x00-\x20]*:#u',

// Unneeded tags
'#</*(applet|meta|xml|blink|link|style|script|embed|object|iframe|frame|frameset|ilayer|layer|bgsound|title|base)[^>]*>?#i'
'#</*(applet|meta|xml|blink|link|style|script|embed|object|iframe|frame|frameset|ilayer|layer|bgsound|title|base|img)[^>]*>?#i'
],

'auto_block' => [
Expand Down

0 comments on commit 3c60543

Please sign in to comment.