Bug#787513: perl: small failure in RFC2047 eMail header encoding

Dominic Hargreaves dom at earth.li
Sat Apr 30 23:22:51 UTC 2016


Control: forwarded -1 https://github.com/dankogai/p5-encode/pull/51
Control: tags -1 + fixed-upstream

On Thu, Mar 24, 2016 at 10:43:24AM +0200, Niko Tyni wrote:
> Control: clone -1 -2
> Control: retitle -2 libencode-perl: small failure in RFC2047 eMail header encoding
> Control: reassign -2 libencode-perl 2.63-1
> 
> On Tue, Jun 02, 2015 at 03:27:53PM +0300, Niko Tyni wrote:
> > On Tue, Jun 02, 2015 at 02:04:57PM +0200, Thorsten Glaser wrote:
> > > Package: perl
> > > Version: 5.20.2-6
> > > Severity: normal
> > 
> > > printf '%s' "[service-Aufgaben S&W-Team][#19415] VM''s aufsetzen mit unterschiedlichen" | \
> > >     perl -C7 -0777 -Mutf8 -MEncode -e "print encode('MIME-Q', 'Subject: ' . <>);"
> > 
> > > Subject: [service-Aufgaben S&W-Team][#19415] VM''
> > >  s aufsetzen mit unterschiedlichen
> > 
> > Thanks, looks buggy to me too. Interestingly decoding the output with
> > MIME-Q seems to have the same bug so it roundtrips correctly.
> 
> Just a note that Encode-2.83 has an improved RFC2047 implementation
> so this might be fixed. I've not tested that yet.
> 
>  https://github.com/dankogai/p5-encode/pull/51
> 
> Cloning this against the separate libencode-perl package, where it should
> be fixed first anyway.

The cloned bug has been closed, suggesting that this is indeed
fixed in Encode-2.83. Updating metadata accordingly.

Dominic.




More information about the Perl-maintainers mailing list