From 0a62cb649b3d3ca537f453e103ced954b06e3316 Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Fri, 18 Aug 2023 16:31:37 +0300 Subject: [PATCH] Fix to consider accidental extra space in names list --- virtual_feature.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtual_feature.pl b/virtual_feature.pl index ba86ef7..c9676d4 100644 --- a/virtual_feature.pl +++ b/virtual_feature.pl @@ -2883,7 +2883,7 @@ sub set_nginx_log_permissions sub domain_server_names { my ($d) = @_; -return split(/ /, $d->{'dom_defnames'}) if ($d->{'dom_defnames'}); +return split(/\s+/, $d->{'dom_defnames'}) if ($d->{'dom_defnames'}); return ( $d->{'dom'}, "www.".$d->{'dom'}, "mail.".$d->{'dom'} ); }