acl encoding issues

This commit is contained in:
zotlabs
2017-10-23 17:52:17 -07:00
parent e67ff5c122
commit 52c1f79f2e
2 changed files with 3 additions and 3 deletions

View File

@@ -2846,7 +2846,7 @@ function item_url_replace($channel,&$item,$old,$new,$oldnick = '') {
*/
function sanitise_acl(&$item) {
if (strlen($item))
$item = '<' . notags(trim($item)) . '>';
$item = '<' . notags(trim(urldecode($item))) . '>';
else
unset($item);
}