X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Ffollow.php;h=58419dfd3ba54836f144ae3b3ff2d3148df98c50;hb=8bde222fca2c8295be8ae39036f539e87b8cba71;hp=c62c03775959afcf819a9d42bf9cab0797021fda;hpb=6bcb96982a53406a9c47dc480ea8c1b5cb6bfe96;p=friendica.git diff --git a/mod/follow.php b/mod/follow.php index c62c037759..58419dfd3b 100644 --- a/mod/follow.php +++ b/mod/follow.php @@ -1,7 +1,24 @@ . + * */ + use Friendica\App; use Friendica\Core\Protocol; use Friendica\Core\Renderer; @@ -24,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