aboutsummaryrefslogtreecommitdiffstats
path: root/mod/linkinfo.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-01 14:52:08 -0800
committerredmatrix <git@macgirvin.com>2016-02-01 14:52:08 -0800
commitff487a02710c2a4833c78e0b015465810c3a7987 (patch)
tree9330f616788c213593f5b868f1bf878ba8077b06 /mod/linkinfo.php
parent01b5b1347521951ca78b1718b03c45897800bf5e (diff)
downloadvolse-hubzilla-ff487a02710c2a4833c78e0b015465810c3a7987.tar.gz
volse-hubzilla-ff487a02710c2a4833c78e0b015465810c3a7987.tar.bz2
volse-hubzilla-ff487a02710c2a4833c78e0b015465810c3a7987.zip
more oembed provider work - channel articles
Diffstat (limited to 'mod/linkinfo.php')
-rw-r--r--mod/linkinfo.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/linkinfo.php b/mod/linkinfo.php
index d615b178f..5d9e2bc67 100644
--- a/mod/linkinfo.php
+++ b/mod/linkinfo.php
@@ -22,6 +22,8 @@ function linkinfo_content(&$a) {
else
$url = trim($_GET['url']);
+ $url = strip_zids($url);
+
if((substr($url,0,1) != '/') && (substr($url,0,4) != 'http'))
$url = 'http://' . $url;