1
0
Fork 0

Clean the profile URL when follow

This commit is contained in:
Michael 2020-02-22 12:29:33 +00:00
commit 9cbea34fa4
3 changed files with 27 additions and 2 deletions

View file

@ -41,7 +41,7 @@ function follow_post(App $a)
}
$uid = local_user();
$url = Strings::escapeTags(trim($_REQUEST['url']));
$url = Probe::cleanURI($_REQUEST['url']);
$return_path = 'follow?url=' . urlencode($url);
// Makes the connection request for friendica contacts easier