]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix: remove superflous line backport/48675/stable29 49278/head
authorgeorglauterbach <44545919+georglauterbach@users.noreply.github.com>
Thu, 7 Nov 2024 19:30:16 +0000 (20:30 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Thu, 14 Nov 2024 10:46:13 +0000 (10:46 +0000)
Signed-off-by: georglauterbach <44545919+georglauterbach@users.noreply.github.com>
lib/private/Http/Client/DnsPinMiddleware.php

index 95ad5641c55e853371dfd582242ddd7601d680da..1f2815990dcdccf6c0e13378256ab0eb110c93d7 100644 (file)
@@ -99,7 +99,6 @@ class DnsPinMiddleware {
                                                $canHaveCnameRecord = false;
                                        } elseif (isset($dnsResponse['target']) && $canHaveCnameRecord) {
                                                $targetIps = array_merge($targetIps, $this->dnsResolve($dnsResponse['target'], $recursionCount));
-                                               $canHaveCnameRecord = true;
                                        }
                                }
                        } elseif ($dnsNegativeTtl !== null) {