Fix header empty value (#1703)

This commit is contained in:
Christophe Maudoux 2019-04-09 14:39:47 +02:00
parent 511cef0acd
commit 9e970b06d2

View File

@ -362,7 +362,7 @@ sub headersInit {
my $sub = '';
foreach ( keys %headers ) {
my $val = $class->substitute( $headers{$_} );
$sub .= "('$_' => $val),";
$sub .= "('$_' => $val || ''),";
}
unless ( $class->tsv->{forgeHeaders}->{$vhost} =