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

Niko Tyni ntyni at debian.org
Thu Mar 24 08:43:24 UTC 2016


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.
-- 
Niko Tyni   ntyni at debian.org




More information about the Perl-maintainers mailing list