Clean the profile URL when follow
This commit is contained in:
parent
1b87a97a81
commit
9cbea34fa4
3 changed files with 27 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue