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

David Relson relson at osagesoftware.com
Wed Oct 23 17:41:45 CEST 2002


At 11:14 AM 10/23/02, Allyn Fratkin wrote:
>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.

Shouldn't we change "#define MAXWORDLEN 20" to "#define MAXWORDLEN 32" or 
something?

With the current value, all tokens longer than 20 characters are discarded ...

>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/





More information about the bogofilter-dev mailing list