diff options
author | zotlabs <mike@macgirvin.com> | 2017-10-03 15:36:56 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-10-03 15:36:56 -0700 |
commit | 58155864cb7318321e70025ce67ca4453efee489 (patch) | |
tree | 2f3153e7f7603e6026416a205e1f651f8d3f1514 /Zotlabs/Module/Acl.php | |
parent | 9cf9217686841bfceb7e2c03b10da88f006f4a5f (diff) | |
download | volse-hubzilla-58155864cb7318321e70025ce67ca4453efee489.tar.gz volse-hubzilla-58155864cb7318321e70025ce67ca4453efee489.tar.bz2 volse-hubzilla-58155864cb7318321e70025ce67ca4453efee489.zip |
urlencode hashes from mod_acl
Diffstat (limited to 'Zotlabs/Module/Acl.php')
-rw-r--r-- | Zotlabs/Module/Acl.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Acl.php b/Zotlabs/Module/Acl.php index 9c5f6653b..ce1064568 100644 --- a/Zotlabs/Module/Acl.php +++ b/Zotlabs/Module/Acl.php @@ -343,7 +343,7 @@ class Acl extends \Zotlabs\Web\Controller { "photo" => "images/twopeople.png", "name" => $g['name'] . (($type === 'f') ? '' : '+'), "id" => $g['id'] . (($type === 'f') ? '' : '+'), - "xid" => $g['hash'], + "xid" => urlencode($g['hash']), "link" => $g['nick'], "nick" => substr($g['nick'],0,strpos($g['nick'],'@')), "self" => (intval($g['abook_self']) ? 'abook-self' : ''), @@ -357,7 +357,7 @@ class Acl extends \Zotlabs\Web\Controller { "photo" => $g['micro'], "name" => $g['name'], "id" => $g['id'], - "xid" => $g['hash'], + "xid" => urlencode($g['hash']), "link" => $g['nick'], "nick" => (($g['nick']) ? substr($g['nick'],0,strpos($g['nick'],'@')) : $g['nick']), "self" => (intval($g['abook_self']) ? 'abook-self' : ''), |