diff --git a/mod/follow.php b/mod/follow.php index 1f12f565e..c7a96f734 100644 --- a/mod/follow.php +++ b/mod/follow.php @@ -61,7 +61,7 @@ function follow_content(App $a) $uid = local_user(); - // Issue 4815: Silently removing a trailing @ + // Issue 4815: Silently removing a prefixing @ $url = ltrim(Strings::escapeTags(trim(defaults($_REQUEST, 'url', ''))), '@!'); // Issue 6874: Allow remote following from Peertube