dondominio: Quote interpolated variable in regex

This commit is contained in:
Richard Hansen 2024-07-23 00:31:17 -04:00
parent 6ac5b41a20
commit f42583c0cf

View file

@ -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;
}