<<< Date Index >>>     <<< Thread Index >>>

Re: [PATCH] Disable line wrapping for Message-ID header (try 2)



Hi,

* Peter Collingbourne wrote:

I am resending this patch as it seems to have been overlooked.

Nope, just that nobody said something doesn't mean it got overlooked.

I didn't look at the code, this is just a wild guess: what if the header
you're printing already is illegal by containing a newline like so and
is overly long:

      Message-ID: <foo@\nbar.domain>

It hope does a sane thing now but won't with a simple fprintf() leaving
a broken header either way.

Rocco