X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Ffollow.php;h=09201bed16cab63f3a143da391c8a85a154b3205;hb=8b450be09bacada8e4ae96079065783bbdacdf5b;hp=075e58d091b18181afe36e389d263672fbebe900;hpb=c81e81dc8d96ffc42548fdcd2ca6887a1a847837;p=friendica.git diff --git a/mod/follow.php b/mod/follow.php index 075e58d091..09201bed16 100644 --- a/mod/follow.php +++ b/mod/follow.php @@ -60,8 +60,7 @@ function follow_content(App $a) $uid = local_user(); - // Issue 4815: Silently removing a prefixing @ - $url = ltrim(Strings::escapeTags(trim($_REQUEST['url'] ?? '')), '@!'); + $url = Probe::cleanURI(trim($_REQUEST['url'] ?? '')); // Issue 6874: Allow remote following from Peertube if (strpos($url, 'acct:') === 0) {