Set headers to {} if empty (Fixes: #1439)
This commit is contained in:
parent
d9cb157477
commit
eac34d8ff0
|
@ -353,6 +353,7 @@ sub headersInit {
|
|||
$class->logger->warn('Empty vhost in headers, skipping');
|
||||
next;
|
||||
}
|
||||
$headers->{$vhost} ||= {};
|
||||
my %headers = %{ $headers->{$vhost} };
|
||||
$class->tsv->{headerList}->{$vhost} = [ keys %headers ];
|
||||
my $sub = '';
|
||||
|
|
Loading…
Reference in New Issue
Block a user