urlencode hashes from mod_acl
This commit is contained in:
parent
9cf9217686
commit
58155864cb
@ -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' : ''),
|
||||
|
@ -2412,7 +2412,7 @@ function handle_tag($a, &$body, &$access_tag, &$str_tags, $profile_uid, $tag, $d
|
||||
}
|
||||
if(! $replaced) {
|
||||
|
||||
//base tag has the tags name only
|
||||
// base tag has the tags name only
|
||||
|
||||
if((substr($tag,0,7) === '#"') && (substr($tag,-6,6) === '"')) {
|
||||
$basetag = substr($tag,7);
|
||||
|
Reference in New Issue
Block a user