Encoded tôkens of s ubjé ct with làrge têxt get splitted f róm MUA
Boris 'pi' Piwinger
3.14 at logic.univie.ac.at
Mon Aug 4 14:19:00 CEST 2003
David Relson wrote:
>>When parsing the header:
>>1) Read subject line, if the next begins with whitespace,
>>concatenate by removing \n. Repeat for additonal folded
>>lines.
>>2) Remove all whitespace between encoded words.
>>3) Apply the lexer to that.
>
> That is a workable plan. It's somewhat awkward to scan and rescan
> lines. If it was simpler, the change would have been made :-)
Well, the alternative approach would be to have flags:
"End of header line not yet found" (which would be triggered
by the next line which is empty (end of header) or starts
with non-whitespace)
"MIME-continuation" (which would be trigger by some
not-MIME-word after a MIME-word and possibly whitespace).
pi
More information about the Bogofilter
mailing list