Re: [Exim] (PATCH) CRLF input through pipe causes mangled he…

Pàgina inicial
Delete this message
Reply to this message
Autor: barryp
Data:  
A: exim-users
Assumptes nous: Re: [Exim] CRLF input through pipe causes mangled headers
Assumpte: Re: [Exim] (PATCH) CRLF input through pipe causes mangled headers
Quoting barryp@???:

> I'm attaching a patch that I believe does the trick. Instead of just
> blindly adding a '\r' whenever a '\n' is encountered, this will have Exim
> check that the previous character it processed wasn't already a '\r'.
>
> It's complicated by how Exim breaks messages down into chunks and has to
> watch for things that need escaping, but I think I followed how that all
> works.
>
> --
> [ patch-src_transport.c of type application/octet-stream deleted ]



Oops, no attachments allowed? Here's a URL:

    http://barryp.org/misc/patch-src_transport.c.txt


        Barry