Follow redirects in class-webfinger.php (#423)

Fixes #422
This commit is contained in:
Terence Eden 2023-09-13 18:29:41 +01:00 committed by GitHub
parent 42d525c904
commit 163d9e931c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,7 +63,7 @@ class Webfinger {
$url,
array(
'headers' => array( 'Accept' => 'application/jrd+json' ),
'redirection' => 0,
'redirection' => 2,
'timeout' => 2,
)
);