To field was not correct indexed by FTS
Josef 'Jeff' Sipek
jeff.sipek at open-xchange.com
Mon Jul 20 17:27:02 EEST 2020
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.,
test at example.com <test at example.com>, Name <other at 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
test at example.com <test at example.com>, Name <other at 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
More information about the dovecot
mailing list