Subject: | MIME::Words: unexpected case when decoding newlines in input |
Date: | Tue, 22 Feb 2011 08:24:11 +0100 |
To: | bug-MIME-Tools [...] rt.cpan.org |
From: | Salvatore Bonaccorso <carnil [...] debian.org> |
Hi
I'm forwarding this bugreport reported in Debian BTS [1].
[1] http://bugs.debian.org/614545
Doing this in 5.501 result in:
perl -MMIME::Words=decode_mimewords -e 'decode_mimewords("\nx")'
MIME::Words: unexpected case:
(
x) pos 0
Please alert developer.
The same with 5.428 gives no warning.
Bests
Salvatore
----- Forwarded message from Chung-chieh Shan <ccshan@post.harvard.edu> -----
Date: Tue, 22 Feb 2011 00:59:26 -0500
From: Chung-chieh Shan <ccshan@post.harvard.edu>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Bug#614545: MIME::Words: unexpected case: Please alert developer.
Resent-From: Chung-chieh Shan <ccshan@post.harvard.edu>
Reply-To: Chung-chieh Shan <ccshan@post.harvard.edu>,
614545@bugs.debian.org
User-Agent: Mutt/1.5.20 (2009-06-14)
Package: libmime-tools-perl
Version: 5.501-1
Severity: normal
Tags: sid
The MIME::Words package in the new version of libmime-tools-perl seems
to be not as robust when decoding newlines in its input:
$ perl -MMIME::Words=decode_mimewords -e 'decode_mimewords("\nx")'
MIME::Words: unexpected case:
(
x) pos 0
Please alert developer.
Thanks,
Ken
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.37 (SMP w/4 CPU cores)
Locale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libmime-tools-perl depends on:
ii libconvert-binhex-perl 1.119+pristine-3 Perl5 module for extracting data f
ii libmailtools-perl 2.06-1 Manipulate email in perl programs
ii perl 5.10.1-17 Larry Wall's Practical Extraction
libmime-tools-perl recommends no packages.
libmime-tools-perl suggests no packages.
-- no debconf information
--
Edit this signature at http://www.digitas.harvard.edu/cgi-bin/ken/sig
1st graffitiist: QUESTION AUTHORITY!
2nd graffitiist: Why?
Show quoted text
_______________________________________________
pkg-perl-maintainers mailing list
pkg-perl-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-perl-maintainers
----- End forwarded message -----
Message body not shown because it is not plain text.