瀏覽代碼

Update Webfinger, fixes #3050

Daniel Supernault 3 年之前
父節點
當前提交
ff7ee3bd62
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
     }