From: Hypolite Petovan Date: Sat, 10 Nov 2018 13:24:31 +0000 (-0500) Subject: Improve return path in mod/follow X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7242b706f0c77847f95e3a0fd01fb6b6efffba7a;p=friendica.git Improve return path in mod/follow --- diff --git a/mod/follow.php b/mod/follow.php index 08f664d393..b92424c208 100644 --- a/mod/follow.php +++ b/mod/follow.php @@ -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