Issue 4815: Silently ignoring trailing @ at follow requests
This commit is contained in:
parent
541593fd4d
commit
644c08a035
1 changed files with 3 additions and 1 deletions
|
@ -60,7 +60,9 @@ function follow_content(App $a)
|
|||
}
|
||||
|
||||
$uid = local_user();
|
||||
$url = Strings::escapeTags(trim(defaults($_REQUEST, 'url', '')));
|
||||
|
||||
// Issue 4815: Silently removing a trailing @
|
||||
$url = ltrim(Strings::escapeTags(trim(defaults($_REQUEST, 'url', ''))), '@!');
|
||||
|
||||
// Issue 6874: Allow remote following from Peertube
|
||||
if (strpos($url, 'acct:') === 0) {
|
||||
|
|
Loading…
Reference in a new issue