X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FContact%2FFollow.php;h=f8b88c05fc7ab35686ede286500d988a34748736;hb=79235b6db1c9badd6c9602d54ad0d550e4bec2fd;hp=c274769402abe0ce509faa2da0fa8fabab266f82;hpb=df69dc0edb4349f9249f45593a90d4286a7870b3;p=friendica.git diff --git a/src/Module/Contact/Follow.php b/src/Module/Contact/Follow.php index c274769402..f8b88c05fc 100644 --- a/src/Module/Contact/Follow.php +++ b/src/Module/Contact/Follow.php @@ -88,7 +88,9 @@ class Follow extends BaseModule } $uid = $this->session->getLocalUserId(); - $url = Probe::cleanURI(trim($request['url'] ?? '')); + + // uri is used by the /authorize_interaction Mastodon route + $url = Probe::cleanURI(trim($request['uri'] ?? $request['url'] ?? '')); // Issue 6874: Allow remote following from Peertube if (strpos($url, 'acct:') === 0) {