]> Sergey Matveev's repositories - public-inbox.git/commit
view: skip ghosts with no direct children
authorEric Wong <e@80x24.org>
Sat, 10 Dec 2016 01:09:49 +0000 (01:09 +0000)
committerEric Wong <e@80x24.org>
Sat, 10 Dec 2016 03:23:46 +0000 (03:23 +0000)
commitdecbc59daa3b08e58e749b5bd88a9d0cbbb7e14a
tree5219e989d5c2da630bea9fa43129397da2e01a5e
parent43288c0a9de93d0e73af57e9525f2053f29f10bb
view: skip ghosts with no direct children

Otherwise, a malicious or broken client could populate the
thread skeleton with invalid References.  We only care about
ghosts which messages correctly refer to, not totally bogus ones
which may be the result of long line or token truncation +
wrapping in MUA headers.
lib/PublicInbox/SearchThread.pm