X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Ffollow.php;h=c7a96f734f6a01ad7dd9b0449618eee1e95787d3;hb=b2d685482928363ce86c3c0519c8ff39d0af43ca;hp=8a00e0559ce3d4132dca07cc3f8084638e981dc7;hpb=bd604d1cfb07fe43016f07a6d1f82877dd910b4c;p=friendica.git diff --git a/mod/follow.php b/mod/follow.php index 8a00e0559c..c7a96f734f 100644 --- a/mod/follow.php +++ b/mod/follow.php @@ -60,7 +60,9 @@ function follow_content(App $a) } $uid = local_user(); - $url = Strings::escapeTags(trim(defaults($_REQUEST, 'url', ''))); + + // Issue 4815: Silently removing a prefixing @ + $url = ltrim(Strings::escapeTags(trim(defaults($_REQUEST, 'url', ''))), '@!'); // Issue 6874: Allow remote following from Peertube if (strpos($url, 'acct:') === 0) {