Some removed escapeTags calls

This commit is contained in:
Michael 2021-11-05 19:59:18 +00:00
parent 0e2e488521
commit 23b10cf2ae
16 changed files with 39 additions and 50 deletions

View file

@ -37,7 +37,7 @@ function unfollow_post(App $a)
// NOTREACHED
}
$url = Strings::escapeTags(trim($_REQUEST['url'] ?? ''));
$url = trim($_REQUEST['url'] ?? '');
unfollow_process($url);
}
@ -53,7 +53,7 @@ function unfollow_content(App $a)
}
$uid = local_user();
$url = Strings::escapeTags(trim($_REQUEST['url']));
$url = trim($_REQUEST['url']);
$condition = ["`uid` = ? AND (`rel` = ? OR `rel` = ?) AND (`nurl` = ? OR `alias` = ? OR `alias` = ?)",
local_user(), Contact::SHARING, Contact::FRIEND, Strings::normaliseLink($url),