X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FOembed%2FOembedPlugin.php;fp=plugins%2FOembed%2FOembedPlugin.php;h=c014b65cfb28148be4535502170a4cb7f673b7f7;hb=c6f89b21748948fde902904f6ac9ce9afa026b84;hp=a366103a021f92cca829e3c12039397ddfc34588;hpb=597a3c89edd7200ab069f0e43c4f63406ca3d7f9;p=quix0rs-gnu-social.git diff --git a/plugins/Oembed/OembedPlugin.php b/plugins/Oembed/OembedPlugin.php index a366103a02..c014b65cfb 100644 --- a/plugins/Oembed/OembedPlugin.php +++ b/plugins/Oembed/OembedPlugin.php @@ -11,7 +11,7 @@ class OembedPlugin extends Plugin '^i\d*\.vimeocdn\.com$' => 'Vimeo', ); public $append_whitelist = array(); // fill this array as domain_whitelist to add more trusted sources - public $check_whitelist = true; // security/abuse precaution + public $check_whitelist = false; // security/abuse precaution protected $imgData = array(); @@ -182,7 +182,7 @@ class OembedPlugin extends Plugin case 'video': case 'link': if (!empty($oembed->html) - && (StatusNet::isAjax() || common_config('attachments', 'show_html'))) { + && (GNUsocial::isAjax() || common_config('attachments', 'show_html'))) { require_once INSTALLDIR.'/extlib/htmLawed/htmLawed.php'; $config = array( 'safe'=>1,