Subject: | unfolding of encoded headers |
Hi,
folded header lines where the first one ends with a encoded token
and the second one starts with a encoded token should not be joined
with a blank.
Oliver
386c386
< $$ln =~ s/\r?\n\s+/ /sog
---
> $$ln =~ s/\r?\n\s+//sog
396,397c396,406
< $$ln =~ s/\r?\n\s+/ /sog
< if defined $ln && defined $$ln;
---
> if (defined($ln) && defined ($$ln))
> {
> if ($$ln =~ /\?=\r?\n\s+=\?/)
> {
> $$ln =~ s/\r?\n\s+//sog
> }
> else
> {
> $$ln =~ s/\r?\n\s+/ /sog
> }
> }