On Mon, Aug 25, 2003 at 02:14:12PM +1200, Simon Byrnand wrote: > I don't know whether this is fixed by Theo's patch or not, as I havn't > tried it...I suspect not.
Nope. > In any case there seems to be some bad interaction between \n in > add_header, and the line folding mechanism... Well, it's PerMsgStatus starting at line 741. The code assumes if a newline is in the header, you've already dealt with wrapping. So it just folds the headers appropriately (replace newlines with newline and tab). If there is no newline (as is the default), it'll wrap and fold for you via Text::Wrap. (this is so X-Spam-Report and other headers will all wrap correctly.) I should add that to the patch too. -- Randomly Generated Tagline: I already have too much problem with people thinking the efficiency of a perl construct is related to its length. On the other hand, I'm perfectly capable of changing my mind next week... :-) --lwall
pgp00000.pgp
Description: PGP signature