mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:45:16 +02:00
Some removed escapeTags calls
This commit is contained in:
parent
0e2e488521
commit
23b10cf2ae
16 changed files with 39 additions and 50 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue