]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
common_purify() doesn't remove wordpress' and facebook's javascript properly, maybe...
authorhannes <h@nnesmannerhe.im>
Tue, 26 Jan 2016 01:10:15 +0000 (01:10 +0000)
committerhannes <h@nnesmannerhe.im>
Tue, 26 Jan 2016 01:10:15 +0000 (01:10 +0000)
plugins/Oembed/lib/oembedhelper.php

index b0527b75299e5ad48b85b9cb3c03ce356d9f0795..5d84d68d8c35af8f64c6109046176b865f791cb7 100644 (file)
@@ -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;
     }