From: hannes Date: Tue, 26 Jan 2016 01:10:15 +0000 (+0000) Subject: common_purify() doesn't remove wordpress' and facebook's javascript properly, maybe... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=884aeb4d2ebab267e6f056b88969765dd3e32ada;p=quix0rs-gnu-social.git common_purify() doesn't remove wordpress' and facebook's javascript properly, maybe better to keep the data intact, and do strip_tags or something similar when using the data --- diff --git a/plugins/Oembed/lib/oembedhelper.php b/plugins/Oembed/lib/oembedhelper.php index b0527b7529..5d84d68d8c 100644 --- a/plugins/Oembed/lib/oembedhelper.php +++ b/plugins/Oembed/lib/oembedhelper.php @@ -161,11 +161,6 @@ class oEmbedHelper $oembed_data = HTTPClient::quickGetJson($api, $params); - // purify html - if(isset($oembed_data->html)) { - $oembed_data->html = common_purify($oembed_data->html); - } - return $oembed_data; }