Re: [PATCH] lib-imap: imap-bodystructure: add test with empty header field

2020-03-03 Thread Simon Ser
On Tuesday, March 3, 2020 9:00 PM, Timo Sirainen wrote: > On 3. Mar 2020, at 20.38, Simon Ser cont...@emersion.fr wrote: > > > This causes the body structure to be incorrect. The RFC says it's fine o > > have empty header field values. > > The problem isn't empty header field. It's that the

Re: [PATCH] lib-imap: imap-bodystructure: add test with empty header field

2020-03-03 Thread Timo Sirainen
On 3. Mar 2020, at 20.38, Simon Ser wrote: > > This causes the body structure to be incorrect. The RFC says it's fine o > have empty header field values. The problem isn't empty header field. It's that the mail is missing Mime-Version header. If that doesn't exist, then the Content-* headers

Re: [PATCH] lib-imap: imap-bodystructure: add test with empty header field

2020-03-03 Thread Aki Tuomi
Hi! Thanks for the patch, we'll look into it. Aki > On 03/03/2020 20:38 Simon Ser wrote: > > > This causes the body structure to be incorrect. The RFC says it's fine o > have empty header field values. > --- > > This just adds a failing test, inspired from an e-mail spotted in the > wild.

[PATCH] lib-imap: imap-bodystructure: add test with empty header field

2020-03-03 Thread Simon Ser
This causes the body structure to be incorrect. The RFC says it's fine o have empty header field values. --- This just adds a failing test, inspired from an e-mail spotted in the wild. Ideas welcome to fix it. src/lib-imap/test-imap-bodystructure.c | 13 + 1 file changed, 13