From 33ffabcca77fe19aef3e0bd40005d2cb03a5daea Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 14 Mar 2019 19:45:51 +0000 Subject: [PATCH] Issue 6874: Allow remote follow via Peertube --- mod/follow.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mod/follow.php b/mod/follow.php index 404c79ea10..f658ef7b2a 100644 --- a/mod/follow.php +++ b/mod/follow.php @@ -62,6 +62,9 @@ function follow_content(App $a) $uid = local_user(); $url = Strings::escapeTags(trim(defaults($_REQUEST, 'url', ''))); + // Issue 6874: Allow remote following from Oeertube + $url = str_replace('acct:', '', $url); + if (!$url) { $a->internalRedirect($return_path); } -- 2.39.5