aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Chanview.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-03-14 11:37:24 +0100
committerMario Vavti <mario@mariovavti.com>2018-03-14 11:37:24 +0100
commit461e86423a5378d35554115f2cf6fd244692f213 (patch)
tree95b70c696045d2d6d1907c9c123d9ec07f378e3e /Zotlabs/Module/Chanview.php
parentf70413a031bac53563751c749419d64bc2b04d9b (diff)
parenta0cbed80f3e488ab3592094f88b4587c68738737 (diff)
downloadvolse-hubzilla-461e86423a5378d35554115f2cf6fd244692f213.tar.gz
volse-hubzilla-461e86423a5378d35554115f2cf6fd244692f213.tar.bz2
volse-hubzilla-461e86423a5378d35554115f2cf6fd244692f213.zip
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'Zotlabs/Module/Chanview.php')
-rw-r--r--Zotlabs/Module/Chanview.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Chanview.php b/Zotlabs/Module/Chanview.php
index 24ab9b022..779c7e646 100644
--- a/Zotlabs/Module/Chanview.php
+++ b/Zotlabs/Module/Chanview.php
@@ -19,7 +19,7 @@ class Chanview extends \Zotlabs\Web\Controller {
}
if($_REQUEST['address']) {
$r = q("select * from xchan where xchan_addr = '%s' limit 1",
- dbesc($_REQUEST['address'])
+ dbesc(punify($_REQUEST['address']))
);
}
elseif(local_channel() && intval($_REQUEST['cid'])) {