[PATCH] new patch to lexer.l, ignore my previous patch

Allyn Fratkin allyn at fratkin.com
Wed Oct 23 17:14:05 CEST 2002


i see that Matthias (or someone) patched lexer.l to have stricter
rules on what comprises a short line of BASE64.  the new method will let
through base64 lines shorter than 32 characters that don't end in = padding.
that's fine by me, particularly if good+spam=1 tokens will expire eventually.

two slight bugs in the patch, (fixed with this patch), a base64 block
can end in two = signs (not just one, depends on data length), and that
pesky CR needs to be taken into account for heterogeneous system folks.

thanks.
-- 
Allyn Fratkin             allyn at fratkin.com
Escondido, CA             http://www.fratkin.com/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lexer.l.=patch
URL: <https://www.bogofilter.org/pipermail/bogofilter-dev/attachments/20021023/c0501da3/attachment.ksh>


More information about the bogofilter-dev mailing list