Add probe support to @user@domain.tld
search string format
This commit is contained in:
parent
17944c01ea
commit
7a8d800024
3 changed files with 5 additions and 2 deletions
|
@ -60,8 +60,7 @@ function follow_content(App $a)
|
|||
|
||||
$uid = local_user();
|
||||
|
||||
// Issue 4815: Silently removing a prefixing @
|
||||
$url = ltrim(Strings::escapeTags(trim($_REQUEST['url'] ?? '')), '@!');
|
||||
$url = Probe::cleanURI(trim($_REQUEST['url'] ?? ''));
|
||||
|
||||
// Issue 6874: Allow remote following from Peertube
|
||||
if (strpos($url, 'acct:') === 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue