]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
searchidx: do not index quoted Base-85 patches
authorEric Wong <e@80x24.org>
Mon, 20 Feb 2023 09:21:50 +0000 (09:21 +0000)
committerEric Wong <e@80x24.org>
Mon, 20 Feb 2023 17:20:59 +0000 (17:20 +0000)
commitb0468d20f37b7987e08faad33d3115c9fb8e0559
tree8ceb5aa7c8822d0e80aeaae2a316035381c16b46
parent2e80069c1de234be0ee569b4edb498f27a909c42
searchidx: do not index quoted Base-85 patches

Base-85 binary patches were a source of false-positives in results
and we've filtered out in non-quoted text since July 2022.
Unfortunately, people were quoting binary patch contents
in replies (*sigh*) and triggering false positives in search
results.  So we must filter out base-85-looking contents from
quoted text, too.

Followup-to: 8fda04081acde705 (search: do not index base-85 binary patches, 2022-06-20)
Followup-to: 840785917bc74c8e (searchidx: skip "delta $N" sections for base-85, 2022-07-19)
lib/PublicInbox/SearchIdx.pm
t/search.t