Closed bobbimanners closed 3 years ago
Seems the rule is that a header line can be split on any whitespace by inserting CRLF then the whitespace. The breaking on a semicolon thing is just cos it is a convenient spot.
Implemented a modification that can handle multiline 'Content-Type:' headers both in the email headers and in the email body.
This makes multipart MIME support work with a bunch of clients, such as Apple Mail, which love to split the CT header over multiple lines.
Fix checked into master, will be in next release.
Released in 2.1.7
It would be very nice to be able to parse headers which are split over two lines (with a semicolon terminating the split line.)
Especially for the case where the MIME boundary is split across lines.