[Bug 1305061] 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



--- Comment #2 from Sjoerd Mullender <sjoerd@xxxxxxx> ---
(In reply to Petr Pisar from comment #1)
> (In reply to Sjoerd Mullender from comment #0)
> > 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?=
> > 
> Could you please describe what the data looks before encoding? Without
> knowing the input, I cannot know what the correct output should be expected.

To: bugs-sql@xxxxxxxxxxx@monetdb.org
Subject: [Bug 3916] New: consideration for MonetDBLite: manage database updates
properly
Date: Thu, 04 Feb 2016 11:02:14 +0000
X-Bugzilla-Reason: AssignedTo

> > All headers that bugzilla produces (as opposed to the ones the MTA adds)
> > use quoted-printable encoding, even when they are fully ASCII.
> 
> This has been reported to upstream as
> <https://rt.cpan.org/Public/Bug/Display.html?id=111853>. It looks ugly, but
> it does not violate any specification. If Bugzilla does not want to encode
> the e-mail addresses, then it should not submit them to MIME-encoding
> function.

That why I wrote that I didn't know whether this bug is in Bugzilla or
perl-Encode.  ;-)

I don't know what the API is, but it seems wrong if the Date and To fields get
mangled the way they were.  The To field given to perl-Encode was the address
bugs-sql@xxxxxxxxxxx, this was quoted by perl-Encode to
=?UTF-8?Q?bugs=2Dsql=40monetdb=2Eorg?= which was then not recognized by the MTA
as a fully qulified email address, so it added a domain, hence the two @ signs
in the deocded result.

-- 
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