From 3d4182d00dca32e11cc5b39de924047935e54aa7 Mon Sep 17 00:00:00 2001 From: Jan-Henrik Bruhn Date: Tue, 3 Dec 2024 18:52:47 +0100 Subject: [PATCH] fix(dns.inwx): Response values from API are not in double-quoted strings --- providers/dns/inwx/inwx.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/providers/dns/inwx/inwx.go b/providers/dns/inwx/inwx.go index 98bf26950b..477df6a1bf 100644 --- a/providers/dns/inwx/inwx.go +++ b/providers/dns/inwx/inwx.go @@ -5,7 +5,6 @@ import ( "errors" "fmt" "time" - "strconv" "github.com/go-acme/lego/v4/challenge" "github.com/go-acme/lego/v4/challenge/dns01" @@ -183,7 +182,7 @@ func (d *DNSProvider) CleanUp(domain, token, keyAuth string) error { var lastErr error for _, record := range response.Records { - if record.Content == strconv.Quote(challengeInfo.Value) { + if record.Content == challengeInfo.Value { err = d.client.Nameservers.DeleteRecord(record.ID) if err != nil { lastErr = fmt.Errorf("inwx: %w", err)