Skip to content

Commit

Permalink
Fix to consider accidental extra space in names list
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Aug 18, 2023
1 parent 85a63c4 commit 0a62cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virtual_feature.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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'} );
}

Expand Down

0 comments on commit 0a62cb6

Please sign in to comment.