ソースを参照

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);
         $url = Nickname::normalizeProfileUrl($url);
         $domain = $url['domain'];
         $domain = $url['domain'];
         $username = $url['username'];
         $username = $url['username'];
-        $path = "https://{$domain}/.well-known/webfinger?resource={$username}@{$domain}";
+        $path = "https://{$domain}/.well-known/webfinger?resource=acct:{$username}@{$domain}";
 
 
         return $path;
         return $path;
     }
     }