1
1
Fork 0

Merge remote-tracking branch 'upstream/2019.06-rc' into issue-6477

This commit is contained in:
Michael 2019-06-19 18:26:59 +00:00
commit b55546b726

View file

@ -40,7 +40,7 @@ class APContact extends BaseObject
$curlResult = Network::curl($webfinger, false, ['timeout' => $xrd_timeout, 'accept_content' => 'application/jrd+json,application/json']);
if (!$curlResult->isSuccess() || empty($curlResult->getBody())) {
$webfinger = 'http://' . $addr_parts[1] . '/.well-known/webfinger?resource=acct:' . urlencode($addr);
$webfinger = Strings::normalizeLink($webfinger);
$curlResult = Network::curl($webfinger, false, ['timeout' => $xrd_timeout, 'accept_content' => 'application/jrd+json,application/json']);