aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-08-04 20:07:55 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-08-04 20:07:55 -0700
commitea63f3312fc69df6c9e9b55568933a65adafee77 (patch)
treeffb6192a7e8beb00a7ce39a4439318292e3057ce /include/bbcode.php
parent5344431fc07e03d84a1e0c2ff7fb3e4c4d731cfe (diff)
downloadvolse-hubzilla-ea63f3312fc69df6c9e9b55568933a65adafee77.tar.gz
volse-hubzilla-ea63f3312fc69df6c9e9b55568933a65adafee77.tar.bz2
volse-hubzilla-ea63f3312fc69df6c9e9b55568933a65adafee77.zip
personal oembed black/white list
Diffstat (limited to 'include/bbcode.php')
-rw-r--r--include/bbcode.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index 66b63d395..66bf6b5ec 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -12,6 +12,7 @@ require_once('include/hubloc.php');
function tryoembed($match) {
$url = ((count($match) == 2) ? $match[1] : $match[2]);
+
$o = oembed_fetch_url($url);
if ($o->type == 'error')