]> git.mxchange.org Git - friendica.git/blobdiff - mod/follow.php
Merge pull request #8647 from annando/annando/issue8619
[friendica.git] / mod / follow.php
index 36eea571945928da11c1b0db815915fcb2a082b9..58419dfd3ba54836f144ae3b3ff2d3148df98c50 100644 (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