INN-CURRENT Folding Injection-Info: header messes up headers when mailed to moderator
Russ Allbery
rra at stanford.edu
Thu Dec 31 06:45:51 UTC 2009
Ray Banana <rayban at banana.shacknet.nu> writes:
> in CURRENT nnrpd/post.c, the Injection-Info: header is folded by
> inserting \r\n\t before logging-data="". When this article is mailed to
> a moderator, the \r\n\t will be substituted by \n\n\t and the remainder
> of the headers will end up in the body of the article.
I suspect it's your mailer that's doing the \r to \n substitution, but
indeed, MailArticle assumes that there is no wrapping in the header lines
and just appends \n to the end of each line and writes them to the mailer.
It's not doing any line ending conversion for the body either... is that
handled elsewhere?
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
Please send questions to the list rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
More information about the inn-workers
mailing list