porkbun: Quote interpolated variable in regex
This commit is contained in:
parent
1020145fdf
commit
c6bcfd4644
1 changed files with 1 additions and 1 deletions
|
@ -6775,7 +6775,7 @@ sub nic_porkbun_update {
|
|||
if ($h eq $domain) {
|
||||
$sub_domain = '';
|
||||
} else {
|
||||
$sub_domain =~ s/\.$domain//;
|
||||
$sub_domain =~ s/\.\Q$domain\E//;
|
||||
}
|
||||
if ($sub_domain eq $h) {
|
||||
failed("'root-domain' (%s) is not part of the full host name (%s)!", $domain, $h);
|
||||
|
|
Loading…
Reference in a new issue