aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Chanview.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-03-14 00:50:12 -0700
committerzotlabs <mike@macgirvin.com>2018-03-14 00:50:12 -0700
commita0cbed80f3e488ab3592094f88b4587c68738737 (patch)
tree07aa788d2b87f9f6052a5b5f5655c2cb644c6fa7 /Zotlabs/Module/Chanview.php
parent128d1f7aa8a11e0394913a10daef56cd4be450b1 (diff)
downloadvolse-hubzilla-a0cbed80f3e488ab3592094f88b4587c68738737.tar.gz
volse-hubzilla-a0cbed80f3e488ab3592094f88b4587c68738737.tar.bz2
volse-hubzilla-a0cbed80f3e488ab3592094f88b4587c68738737.zip
make unicode usernames work in chanview module
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'])) {