Skip to content

Commit

Permalink
fix(dns.inwx): Response values from API are not in double-quoted strings
Browse files Browse the repository at this point in the history
  • Loading branch information
jhbruhn committed Dec 3, 2024
1 parent ac9ee83 commit 3d4182d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions providers/dns/inwx/inwx.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"errors"
"fmt"
"time"
"strconv"

"github.com/go-acme/lego/v4/challenge"
"github.com/go-acme/lego/v4/challenge/dns01"
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 3d4182d

Please sign in to comment.