Issue 6874: Allow remote follow via Peertube

This commit is contained in:
Michael 2019-03-14 19:45:51 +00:00
parent cd0d6cb626
commit 33ffabcca7

View File

@ -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);
}