1
1
Fork 0

Improve return path in mod/follow

This commit is contained in:
Hypolite Petovan 2018-11-10 08:24:31 -05:00
parent a6a3c268bb
commit 7242b706f0

View file

@ -27,7 +27,7 @@ function follow_post(App $a)
$uid = local_user();
$url = Strings::escapeTags(trim($_REQUEST['url']));
$return_path = 'contacts';
$return_path = 'follow?url=' . urlencode($url);
// Makes the connection request for friendica contacts easier
// This is just a precaution if maybe this page is called somewhere directly via POST