[PATCH] Better tagging.

Matthias Andree matthias.andree at gmx.de
Mon Sep 15 00:30:06 CEST 2003


David Relson <relson at osagesoftware.com> writes:

> The modified rules include spaces in tokens line "h:Mime-Version: 1.0".
> Currently tokens can't have spaces, a detail that bogoutil cares
> about.

I missed that, looking only at the patch. Clearly, this needs to be split.

> Currently 'charset=us-ascii' and 'charset="us-ascii"' both generate
> 'charset' and 'us-ascii'.  With the new rules they generate
> 'h:charset=us-ascii' and 'h:charset="us-ascii"', which is another
> inclusion of an illegal character.

True. My idea would then be to use the traditional "return TOKEN"
approach, but extend it to add the h: tag when we're in header mode (as
opposed to body mode).

-- 
Matthias Andree

Encrypt your mail: my GnuPG key ID is 0x052E7D95




More information about the bogofilter-dev mailing list