develooper Front page | perl.perl5.porters | Postings from May 2016

Re: [perl #128020] [PATCH] perlbug needs to wrap long lines for MTAsafety

Thread Next
From:
Niko Tyni
Date:
May 1, 2016 21:23
Subject:
Re: [perl #128020] [PATCH] perlbug needs to wrap long lines for MTAsafety
Message ID:
20160501212251.GA6902@estella.local.invalid
On Fri, Apr 29, 2016 at 03:25:26PM -0700, James E Keenan via RT wrote:
> On Thu Apr 28 13:28:18 2016, ntyni@debian.org wrote:
> > This is a bug report for perl from Niko Tyni <ntyni@debian.org>,
> > generated with the help of perlbug 1.40 running under perl 5.22.1.
> > 
> > 
> > -----------------------------------------------------------------
> > [Please describe your issue here]
> > 
> > My perlbug report got rejected by an MTA because it had a line with
> > 1000
> > characters, namely the config_args=[...] line from Config::myconfig().
> > This seems to be a common limit with MTAs, see for instance
> >   http://www.jebriggs.com/blog/2010/07/smtp-maximum-line-lengths/
> > 
> > Please consider the attached patch set, which implements wrapping the
> > report body at 900 characters. Attachments and message headers are
> > left untouched.
> > 
> > This report was sent with a patched perlbug; otherwise it would not
> > have made it through.
> > 
> 
> Would it be possible to provide a unit test for this?

I can certainly try. New patch set attached.
-- 
Niko Tyni   ntyni@debian.org

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About