Commit 9e970b06 authored by Christophe Maudoux's avatar Christophe Maudoux 🐛

Fix header empty value (#1703)

parent 511cef0a
...@@ -362,7 +362,7 @@ sub headersInit { ...@@ -362,7 +362,7 @@ sub headersInit {
my $sub = ''; my $sub = '';
foreach ( keys %headers ) { foreach ( keys %headers ) {
my $val = $class->substitute( $headers{$_} ); my $val = $class->substitute( $headers{$_} );
$sub .= "('$_' => $val),"; $sub .= "('$_' => $val || ''),";
} }
unless ( $class->tsv->{forgeHeaders}->{$vhost} = unless ( $class->tsv->{forgeHeaders}->{$vhost} =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment