vmime fails to parse a header field with no data in the first line.
The value of "Message-ID" is empty and not "<68CC….@mail.domain.zz>".
I added this in headField.cpp on line 149 to get the value:
// Check for folded line
if (c == '\r' && pos + 2 < end && buffer == '\n' &&
(buffer == ' ' || buffer == '\t'))
pos += 3;
// Check for end of contents
else if (c == '\r' && pos + 1 < end && buffer == '\n')
Thank you very much for this fix.
I have committed the patch to the SVN.
Log in to post a comment.