]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Vimeo oEmbed thumbnail host added to whitelist
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 2 Feb 2015 10:13:52 +0000 (11:13 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 2 Feb 2015 10:14:13 +0000 (11:14 +0100)
plugins/Oembed/OembedPlugin.php

index 305dee614f923298cf0156308d8265a9408fdf49..a366103a021f92cca829e3c12039397ddfc34588 100644 (file)
@@ -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