From 163d9e931c407463bf254ce55bd45f400468982c Mon Sep 17 00:00:00 2001 From: Terence Eden Date: Wed, 13 Sep 2023 18:29:41 +0100 Subject: [PATCH] Follow redirects in class-webfinger.php (#423) Fixes #422 --- includes/class-webfinger.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-webfinger.php b/includes/class-webfinger.php index c041290..b6b0a64 100644 --- a/includes/class-webfinger.php +++ b/includes/class-webfinger.php @@ -63,7 +63,7 @@ class Webfinger { $url, array( 'headers' => array( 'Accept' => 'application/jrd+json' ), - 'redirection' => 0, + 'redirection' => 2, 'timeout' => 2, ) );