ParseHeader will now re-merge continuation lines.
Signed-off-by: Thomas Hochstein <thh@thh.name>
This commit is contained in:
parent
d194ef754f
commit
eea296391c
2 changed files with 3 additions and 1 deletions
|
|
@ -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",$_));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue