On Mon, Jul 20, 2020 at 09:43:12 -0400, Josef 'Jeff' Sipek wrote: > On Mon, Jul 20, 2020 at 20:24:13 +0900, TACHIBANA Masashi wrote: ... > Thanks for the report. I reproduced it locally, but I'm not sure what is > causing it yet.
Alright, it is actually a parsing bug. The problem seems to be when the code encounters a "name <address>" format where the name is a valid address. This accidentally makes the parser stop parsing - making any additional addresses ignored. E.g., t...@example.com <t...@example.com>, Name <ot...@example.com> The parser stops after the first address's name thinking it is just a bare address (without a name). That is, after the first loop iterating while parsing, the "cursor" is at the first space and not at the comma. /- parsing should stop here v t...@example.com <t...@example.com>, Name <ot...@example.com> ^ `- parsing stops here This is obviously wrong. I'll have to dig in more to figure out what it will take to fix this. Thanks again, Jeff. -- FreeBSD 12.1