https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6143





--- Comment #35 from Sidney Markowitz <[email protected]>  2009-07-08 16:27:52 
PST ---
I see that sa-compile has a sub named fixup_re which does the right thing to
turn /\x{00}/ into a one-character string.

I guess that BodyRuleBaseExtractor.pm has to produce non-binary text because
sa-compile is getting it from a temporary file read line by line. We can either
change that so they work with binary mode files, or perhaps simpler, add a
second layer of test in sa-compile to not write out rules that have a fixed up
re of less than the minimum length.

Justin, what do you think? The latter is very easy, but moving fixup_re into
BodyRuleBaseExtractor.pm might be cleaner if it doesn't overly complicate the
passing of the strings in the temporary file.

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to