]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Don't report all linked URLs to remote sites
authorMikael Nordfeldth <mmn@hethane.se>
Sun, 18 May 2014 21:25:40 +0000 (23:25 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Sun, 18 May 2014 21:25:40 +0000 (23:25 +0200)
noembed.com acts as a proxy for oEmbed requests, but that also means they
get all the links we post on our instances, given that they're used as a
default endpoint.

lib/default.php

index dc7a005339deb794c9fae7eadb1cdb75d9d60e2e..620236af80cecd1c5313dc738bb318c020d535cb 100644 (file)
@@ -270,7 +270,7 @@ $default =
               'allow_tagging' => array('all' => true), // equivalent to array('local' => true, 'remote' => true)
               'desclimit' => null),
         'oembed' =>
-        array('endpoint' => 'https://noembed.com/embed/',
+        array('endpoint' => null,   // 'https://noembed.com/embed/' for proxied oEmbed data
               'order' => array('built-in', 'well-known', 'service', 'discovery'),
         ),
         'search' =>