ParseHeader will now re-merge continuation lines.

Signed-off-by: Thomas Hochstein <thh@thh.name>
This commit is contained in:
Thomas Hochstein 2025-05-29 19:32:39 +02:00
parent d194ef754f
commit eea296391c
2 changed files with 3 additions and 1 deletions

View file

@ -280,7 +280,8 @@ sub ParseHeaders {
} elsif (/^\s/) {
# continuation lines
if ($Label) {
$Header{lc($Label)} .= "\n$_";
s/^\s+/ /;
$Header{lc($Label)} .= $_;
} else {
warn (sprintf("Non-header line: %s\n",$_));
}