Check object whitelist in HTMLFilter class, not EmbedFilter class

This commit is contained in:
Kijin Sung 2016-03-12 22:35:43 +09:00
parent 143b65e840
commit 6f53a3f068
3 changed files with 36 additions and 52 deletions

View file

@ -827,9 +827,6 @@ function purifierHtml(&$content)
*/
function removeHackTag($content)
{
$oEmbedFilter = EmbedFilter::getInstance();
$oEmbedFilter->check($content);
return Rhymix\Framework\Security\HTMLFilter::clean($content);
}