make unicode usernames work in chanview module

This commit is contained in:
zotlabs 2018-03-14 00:50:12 -07:00
parent 128d1f7aa8
commit a0cbed80f3

View file

@ -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'])) {