Skip to content

Commit 0a62cb6

Browse files
committed
Fix to consider accidental extra space in names list
1 parent 85a63c4 commit 0a62cb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

virtual_feature.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2883,7 +2883,7 @@ sub set_nginx_log_permissions
28832883
sub domain_server_names
28842884
{
28852885
my ($d) = @_;
2886-
return split(/ /, $d->{'dom_defnames'}) if ($d->{'dom_defnames'});
2886+
return split(/\s+/, $d->{'dom_defnames'}) if ($d->{'dom_defnames'});
28872887
return ( $d->{'dom'}, "www.".$d->{'dom'}, "mail.".$d->{'dom'} );
28882888
}
28892889

0 commit comments

Comments
 (0)