Update Webfinger, fixes #3050

This commit is contained in:
Daniel Supernault 2021-12-26 04:58:19 -07:00
parent 469d49d832
commit ff7ee3bd62
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ class WebfingerUrl
$url = Nickname::normalizeProfileUrl($url);
$domain = $url['domain'];
$username = $url['username'];
$path = "https://{$domain}/.well-known/webfinger?resource={$username}@{$domain}";
$path = "https://{$domain}/.well-known/webfinger?resource=acct:{$username}@{$domain}";
return $path;
}