aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-01-24 18:33:41 -0800
committerzotlabs <mike@macgirvin.com>2017-01-24 18:33:41 -0800
commitd96a7bc1fae81dbf7b569a7aac757efc25a533b9 (patch)
treee6b024ff0a0ee5d7049ca19f460aae29ec78371b
parentdad83977635bd01690b3ee15e1646de9c61c8d4e (diff)
downloadvolse-hubzilla-d96a7bc1fae81dbf7b569a7aac757efc25a533b9.tar.gz
volse-hubzilla-d96a7bc1fae81dbf7b569a7aac757efc25a533b9.tar.bz2
volse-hubzilla-d96a7bc1fae81dbf7b569a7aac757efc25a533b9.zip
block well-known from oembed
-rwxr-xr-xinclude/oembed.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/oembed.php b/include/oembed.php
index 36395cfbc..58ad29291 100755
--- a/include/oembed.php
+++ b/include/oembed.php
@@ -34,6 +34,9 @@ function oembed_action($embedurl) {
$action = 'block';
}
}
+ if(strpos($embedurl,'.well-known') !== false)
+ $action = 'block';
+
// site white/black list