Browse Source

Update Webfinger, fixes #3050

Daniel Supernault 3 years ago
parent
commit
ff7ee3bd62
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Util/Webfinger/WebfingerUrl.php

+ 1 - 1
app/Util/Webfinger/WebfingerUrl.php

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