Explorar o código

Update Webfinger, fixes #3050

Daniel Supernault %!s(int64=3) %!d(string=hai) anos
pai
achega
ff7ee3bd62
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
     }