Explorar el Código

Update Webfinger, fixes #3050

Daniel Supernault hace 3 años
padre
commit
ff7ee3bd62
Se han modificado 1 ficheros con 1 adiciones y 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;
     }