From: Mikael Nordfeldth Date: Mon, 2 Feb 2015 10:13:52 +0000 (+0100) Subject: Vimeo oEmbed thumbnail host added to whitelist X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=000b7675d86428bc81770f9a8543566af9cf459f;p=quix0rs-gnu-social.git Vimeo oEmbed thumbnail host added to whitelist --- diff --git a/plugins/Oembed/OembedPlugin.php b/plugins/Oembed/OembedPlugin.php index 305dee614f..a366103a02 100644 --- a/plugins/Oembed/OembedPlugin.php +++ b/plugins/Oembed/OembedPlugin.php @@ -8,6 +8,7 @@ class OembedPlugin extends Plugin // WARNING, these are _regexps_ (slashes added later). Always escape your dots and end your strings public $domain_whitelist = array( // hostname => service provider '^i\d*\.ytimg\.com$' => 'YouTube', + '^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