From 4d517a33ba6498039f6500175a99583e0bf26f61 Mon Sep 17 00:00:00 2001 From: georglauterbach <44545919+georglauterbach@users.noreply.github.com> Date: Thu, 7 Nov 2024 20:30:16 +0100 Subject: [PATCH] fix: remove superflous line Signed-off-by: georglauterbach <44545919+georglauterbach@users.noreply.github.com> --- lib/private/Http/Client/DnsPinMiddleware.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/private/Http/Client/DnsPinMiddleware.php b/lib/private/Http/Client/DnsPinMiddleware.php index 08dbf88a8a8..630d2c8e9f1 100644 --- a/lib/private/Http/Client/DnsPinMiddleware.php +++ b/lib/private/Http/Client/DnsPinMiddleware.php @@ -82,7 +82,6 @@ class DnsPinMiddleware { $canHaveCnameRecord = false; } elseif (isset($dnsResponse['target']) && $canHaveCnameRecord) { $targetIps = array_merge($targetIps, $this->dnsResolve($dnsResponse['target'], $recursionCount)); - $canHaveCnameRecord = true; } } } elseif ($dnsNegativeTtl !== null) { -- 2.39.5