[Bug 1305061] New: latest perl-Encode breaks sending email by bugzilla

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1305061

            Bug ID: 1305061
           Summary: latest perl-Encode breaks sending email by bugzilla
           Product: Fedora
           Version: 23
         Component: perl-Encode
          Assignee: ppisar@xxxxxxxxxx
          Reporter: sjoerd@xxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: perl-devel@xxxxxxxxxxxxxxxxxxxxxxx, ppisar@xxxxxxxxxx



Description of problem:
I don't know whether this bug is in bugzilla or perl-Encode, but since the
update to perl-Encode-2.80-4.fc23.x86_64 my bugzilla installation produces
emails that are horrible.  I suspect the this commit:
https://github.com/dankogai/p5-encode/commit/77c0a92d8d12f06a3d92ea3d798ec81170b9202b
Mails sent by bugzilla contain a Date header that my thunderbird can't parse,
the To address is mangled, and all headers that bugzilla creates use
quoted-printable encoding.
An example:
To: =?UTF-8?Q?bugs=2Dsql=40monetdb=2Eorg?=@monetdb.org
Subject:
=?UTF-8?Q?=5BBug=203916=5D=20New=3A=20consideration=20for=20MonetDBLite=3A=20manage=20database=20updates=20properly?=
Date: =?UTF-8?Q?Thu=2C=2004=20Feb=202016=2011=3A02=3A14=20=2B0000?=
X-Bugzilla-Reason: =?UTF-8?Q?AssignedTo?=

Note that the decoded version of the To header has two @ signs.

Version-Release number of selected component (if applicable):
perl-Encode-2.80-4.fc23.x86_64

How reproducible:
100%

Steps to Reproduce:
1.have bugzilla send an email
2.
3.

Actual results:
See above.  All headers that bugzilla produces (as opposed to the ones the MTA
adds) use quoted-printable encoding, even when they are fully ASCII.

Expected results:
No quoted-printable headers.


Additional info:
A perl-savvy person can probably just call the encode function directly and
doesn't have to go through bugzilla. 
https://rt.cpan.org/Public/Bug/Display.html?id=88717 mentions
print encode('MIME-Header', "Hey foo\x{2024}bar:whee")."\n";
I'd try something with pure ASCII as second argument.  The result of that
should, in my oppinion, not use quoted-printable encoding.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux