From f42583c0cfb1461cad7dba356dd96dbcbc2c5345 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Tue, 23 Jul 2024 00:31:17 -0400 Subject: [PATCH] dondominio: Quote interpolated variable in regex --- ddclient.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddclient.in b/ddclient.in index 5393143..9fde670 100755 --- a/ddclient.in +++ b/ddclient.in @@ -6532,7 +6532,7 @@ sub nic_dondominio_update { next if !header_ok($h, $reply); my @reply = split /\n/, $reply; my $returned = pop(@reply); - if ($returned !~ /OK|IP:$ip/) { + if ($returned !~ /OK|IP:\Q$ip\E/) { failed("$h: Server said: $returned"); next; }