Relaxing a few checks

Kamil Jońca kjonca at poczta.onet.pl
Thu Mar 23 07:54:17 UTC 2017


Julien ÉLIE <julien at trigofacile.com> writes:

[...]
> It is of course also a mailpost bug that should be fixed.
> Could you please try the following patch for mailpost?
>
> --- mailpost    2017-03-20 15:26:45.000000000 +0100
> +++ mailpost    2017-03-20 16:02:52.000000000 +0100
> @@ -213,6 +213,9 @@
>      next if /^Approved:\s/sio && defined($approved);
>      next if /^Distribution:\s/sio && defined($distribution);
>
> +    # Remove empty header field bodies.
> +    next if /^[^:]+:\s*$/;
> +
>      if (/^($exclude):\s*/sio) {
>      $real_news_hdrs .= "$_\n";

It looks it works.
Thanks.

KJ

-- 
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html
"It may be that our role on this planet is not to worship God but to
 create him."
		-- Arthur C. Clarke


More information about the inn-workers mailing list