mirror of
https://github.com/friendica/friendica
synced 2024-12-23 08:00:16 +00:00
Only remove when "acct:" is the beginning
This commit is contained in:
parent
09b6978e4c
commit
cd1fc091cb
1 changed files with 3 additions and 1 deletions
|
@ -63,7 +63,9 @@ function follow_content(App $a)
|
|||
$url = Strings::escapeTags(trim(defaults($_REQUEST, 'url', '')));
|
||||
|
||||
// Issue 6874: Allow remote following from Peertube
|
||||
if (strpos($url, 'acct:') === 0) {
|
||||
$url = str_replace('acct:', '', $url);
|
||||
}
|
||||
|
||||
if (!$url) {
|
||||
$a->internalRedirect($return_path);
|
||||
|
|
Loading…
Reference in a new issue