Skip to content

Commit 04e83eb

Browse files
authored
Merge pull request #807 from gturri/bugfix
Prevent using <embed> and <object> tags
2 parents 7ed3f6a + 188f5e9 commit 04e83eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

qa-include/qa-base.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,7 @@ function qa_sanitize_html($html, $linksnewwindow = false, $storage = false)
10241024

10251025
$safe = htmLawed($html, array(
10261026
'safe' => 1,
1027-
'elements' => '*+embed+object-form',
1027+
'elements' => '*-form',
10281028
'schemes' => 'href: aim, feed, file, ftp, gopher, http, https, irc, mailto, news, nntp, sftp, ssh, telnet; *:file, http, https; style: !; classid:clsid',
10291029
'keep_bad' => 0,
10301030
'anti_link_spam' => array('/.*/', ''),

0 commit comments

Comments
 (0)