]> Sergey Matveev's repositories - public-inbox.git/commit
handle repeated References and In-Reply-To headers
authorEric Wong <e@80x24.org>
Sat, 11 Feb 2017 23:54:48 +0000 (23:54 +0000)
committerEric Wong <e@80x24.org>
Sat, 11 Feb 2017 23:54:48 +0000 (23:54 +0000)
commitccb66f35d293d3d0e3f9b119f7bd1fa019b93c75
treef3994394c6c0b16f545b855e731d82cf787f7521
parentba4c50c20b95679580beba1ef290a4281d5285b7
handle repeated References and In-Reply-To headers

It seems possible for git-send-email(1) to generate repeated
repeated instances of References and In-Reply-To headers,
as evidenced in:

https://public-inbox.org/git/20161111124541.8216-17-vascomalmeida@sapo.pt/raw

This causes a mismatch between how our search indexer threads
and how our HTML view handles threading.  In the future, View.pm
will use the smsg-parsed {references} field and avoid redoing
Email::MIME header parsing.

We will still need to figure out a way to deal with messages
with repeated Message-IDs, at some point, too.
lib/PublicInbox/SearchIdx.pm
lib/PublicInbox/SearchThread.pm
lib/PublicInbox/View.pm