From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Rainer Gemulla" Newsgroups: gmane.emacs.bugs Subject: bug#38654: Further details Date: Fri, 10 Jan 2020 14:04:29 +0000 Message-ID: References: Reply-To: Rainer Gemulla Mime-Version: 1.0 Content-Type: multipart/signed; boundary="------=_MB78748C97-220D-4409-9499-B75360C2142F"; protocol="application/pgp-signature"; micalg=SHA-256 Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="165765"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: eM_Client/7.2.36908.0 To: 38654@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 10 15:08:20 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ipuvB-000Rlu-Ta for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Jan 2020 15:05:54 +0100 Original-Received: from localhost ([::1]:45862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipuv9-0003cj-I4 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Jan 2020 09:05:51 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38697) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipuuO-0003V8-1K for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2020 09:05:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipuuM-00066o-KR for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2020 09:05:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47837) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ipuuM-00065Q-Bx for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2020 09:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ipuuM-0007Fr-6b for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2020 09:05:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: "Rainer Gemulla" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Jan 2020 14:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38654 X-GNU-PR-Package: emacs Original-Received: via spool by 38654-submit@debbugs.gnu.org id=B38654.157866507827852 (code B ref 38654); Fri, 10 Jan 2020 14:05:02 +0000 Original-Received: (at 38654) by debbugs.gnu.org; 10 Jan 2020 14:04:38 +0000 Original-Received: from localhost ([127.0.0.1]:53810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iputy-0007FA-Br for submit@debbugs.gnu.org; Fri, 10 Jan 2020 09:04:38 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:46433) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iputv-0007Ex-Rt for 38654@debbugs.gnu.org; Fri, 10 Jan 2020 09:04:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1578665069; bh=mxEyOUZQY6mZyFdw5PltlxQNnXRd4sdr4+Y1ciuD1r0=; h=X-UI-Sender-Class:From:To:Subject:Date:Reply-To; b=eLQ7Cp1mWX3ebhik1nDuQ1iurAkJfdLenqJCuJL7W4PRSxXiUd4q8cdJnUk/xvAf4 OFP7XQYkGzagPnRzEb4wb3FgKq8uqFHxoqqLUYhRksNeQca6cZCrygQGQxhbODhkmI H5X0x7Vpz5k+KXmjJAdqb7G62fPJ+GAPs6ndscx8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.178.27] ([89.247.252.85]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M3DJv-1ip65A2Yu5-003gJe for <38654@debbugs.gnu.org>; Fri, 10 Jan 2020 15:04:29 +0100 X-Provags-ID: V03:K1:Zsf877Mj9R+7wKZeopuXFUJ7WO/oAnZ5LdcHSRTlH7sCN/0hgh4 qckmC5YffEvBqzru5C3kSXI8jWOKF6Pebt6cvuRMzQcVj3qsKAgU1j0PcsinyqiIZ9wswCN OtDWbe0Bt38CvQmoZIdmkl2bFQS1uqqZ6owGDj08c2pSoJb308S2WbVZkoMtTecsOKkX74Y p8Q/wSrB4kRSO7gXGX7bg== X-UI-Out-Filterresults: notjunk:1;V03:K0:+vPanSGMacc=:NhAnpa7QHgYnQchgQycwnp CDDQqriDaufof7UBlVC3rQNMRAYTG82153ZtaSjWc+MdHwpRiP0e8LTr7SLvVnzaYvToEee1Q GQBY3Vs7Y5kgi5dIiACFg8cJLzvhSMPHEKeaLIWC4o5UY08y0eQatrcTobTdYT5BgQJ5ZOWPF ZDgkvJh+YdjkXNNZmYgkRXoeBWGjgxdHo27nZQ8igXILhi5H5ziXwF9EC2bDDm2WJKR2j9Xi3 3BGLN9guB8AcAJZRDwT6zY/Ma++foX9r2wD29RouGdSFqkV0cwazb1aYQ6KMSv9e2Tu8k+Q5l 5pJNZ5e5En5AOTi9g6F9zSziom8okhBttOl5utRCIVeOZHtedOmNPm4I/VJ0KsndgMGapbOil h5vBvpU+PN2NVkaZ7laWODCgzwQYB6A5dLIdVtEYc9voeQFlbyne/mQjkXsb2V1BQ3kYDDHiA +xbn8ErvjnuXhTyiWaPQ4nekbmQIEPSvq9aANFurIilk4YQ28ITD8wu0eql1dF1uLCZ51xTMy eDE53Ark+/NhmyotbxKpZSnZo5TKBnfcNfRbLjCLNCRIp4C7TXXkTcAWsf1CItNQCoZ/HmxKS vIg+70OY/ftTJWQMWBRZ8MmymHb0j/5yXcPNUqVr6jdQz+g8D9WkXBd17bnQuP/7JSxb7e5R7 tOUTQyBx7FdrcjB/4mPyQRtR//ZXPLEjSM+xo+xninqWiOWGoZ2vOrvttxcNaNlGiRmamvvqT RIm5kyY3dX4hZFk+Uuvc31IRMdufZXvD9BhUE8ZtiY7SpM3RUpiCScAtWnN4Q64Cha0/OeaN X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:174437 Archived-At: --------=_MB78748C97-220D-4409-9499-B75360C2142F Content-Type: multipart/alternative; boundary="------=_MBFB029601-D8A6-489D-A336-A544ED308F8A" --------=_MBFB029601-D8A6-489D-A336-A544ED308F8A Content-Type: text/plain; format=flowed; charset=utf-8 Content-Transfer-Encoding: quoted-printable The consequence of this bug is that Emacs sends incorrect messages=20 without the sender noticing. When such a message is opened by the=20 recipient (in any other email client I tried, including in Emacs), the=20 content is not readable. This is an major bug. The bug happens (mostly?) when a message is forwarded: the new parts=20 added by the sender are lost because they are incorrectly encoded. The=20 correct encoding and the incorrect one obtained in Emacs 27 below. The=20 problematic parts are marked in red. BEGIN CORRECT RESULT From: a b.ce To: c d.de Subject: Test MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=3D"=3D-=3D-=3D" --text follows this line-- --=3D-=3D-=3D Content-Type: text/plain Test --=3D-=3D-=3D Content-Type: message/rfc822 Content-Disposition: inline --=3D=3D=3D=3D-=3D-=3D Content-Disposition: inline MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=3D"=3D=3D=3D=3D-=3D-=3D" Some text. --=3D=3D=3D=3D-=3D-=3D Content-Type: text/html; charset=3Dutf-8 Some more text. --=3D=3D=3D=3D-=3D-=3D-- --=3D-=3D-=3D-- END CORRECT RESULT BEGIN INCORRECT RESULT AFTER STEP 9 From: a b.ce To: c d.de Subject: Test MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=3D"=3D-=3D-=3D" --text follows this line-- --=3D-=3D-=3D Content-Type: multipart/alternative; boundary=3D"=3D=3D=3D=3D-=3D-=3D" Content-Transfer-Encoding: base64 VGV4dAoK --=3D-=3D-=3D Content-Type: message/rfc822 Content-Disposition: inline --=3D=3D=3D=3D-=3D-=3D Content-Disposition: inline MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=3D"=3D=3D=3D=3D-=3D-=3D" Some text. --=3D=3D=3D=3D-=3D-=3D Content-Type: text/html; charset=3Dutf-8 Some more text. --=3D=3D=3D=3D-=3D-=3D-- --=3D-=3D-=3D-- END INCORRECT RESULT AFTER STEP 9 --------=_MBFB029601-D8A6-489D-A336-A544ED308F8A Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable The consequence of this bug is that Emacs sends incorrect messages wi= thout the sender noticing. When such a message is opened by the recipient (= in any other email client I tried, including in Emacs), the content is not= readable.=C2=A0This is an major bug.=C2=A0=

The bug happens (mostly?) when a message is forwarded: t= he new parts added by the sender are lost because they are incorrectly enco= ded.=C2=A0The correct encoding and the inc= orrect one obtained in Emacs 27 below. The problematic parts are marked in= red.

BEGIN CORRECT RESULT
From= : a <at> b.ce
To: c <at> d.de
Subject: Test
MIME= -Version: 1.0
Content-Type: multipart/mixed; boundary=3D"=3D-=3D-=3D"<= br />--text follows this line--
--=3D-=3D-=3D<= br />Content-Type: text/plain

Test


--=3D= -=3D-=3D
Content-Type: message/rfc822
Content-Disposition: inline=

--=3D=3D=3D=3D-=3D-=3D
Content-Disposition: inline
MI= ME-Version: 1.0
Content-Type: multipart/alternative; boundary=3D"=3D= =3D=3D=3D-=3D-=3D"

Some text.

--=3D=3D=3D=3D-=3D-=3D<= br />Content-Type: text/html; charset=3Dutf-8

Some more text.

--=3D=3D=3D=3D-=3D-=3D--

--=3D-=3D-=3D--
END CORRECT RESULT
BEGIN INCORRECT RESULT AF=
TER STEP 9
From: a <at> b.ce
To: c <at> d.de
Subject: Test
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=3D"=3D-=3D-=3D"
--text follows this line--
--=3D-=3D-=3D
Content-Type: multipart/alternative; boundary=3D"=3D=3D=3D=3D-=3D-=3D"
Content-Transfer-Encoding: base64

VGV4dAoK
--=3D-=3D-=3D
Content-Type: message/rfc822
Content-Disposition: inline

--=3D=3D=3D=3D-=3D-=3D
Content-Disposition: inline
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary=3D"=3D=3D=3D=3D-=3D-=3D"

Some text.

--=3D=3D=3D=3D-=3D-=3D
Content-Type: text/html; charset=3Dutf-8

Some more text.

--=3D=3D=3D=3D-=3D-=3D--

--=3D-=3D-=3D--
END INCORRECT RESULT AFTER STEP 9
--------=_MBFB029601-D8A6-489D-A336-A544ED308F8A-- --------=_MB78748C97-220D-4409-9499-B75360C2142F Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: BCPG C# v1.8.1.0 iQI+BAABCAAoBQJeGIRtIRxSYWluZXIgR2VtdWxsYSA8cmdlbXVsbGFAZ214LmRl PgAKCRB0pw6+EqKRW+0lD/9IYNj0RpeRBtoRJusf4XQEw8la30FLLMsfOXsGpPYW 4x5w5rnsfynFlGxpyOBG+ZTDaPQeiqj9QJgP4V0uKEjVYRP7xp4LpKrs/8McJm00 2VZG8s8JYM10tAWUYICikuhlq9bhJ439JIpvZa8SHZGWZToWidbZBykvsMOgcB+F mBCC32hDj5+KmJ4UvG9y1cFUzqn+Zn5sivS+Po5PKfVjmLUMetDRRx2OgEL93M6r GUr+xczl3rZxv8/7zX+hezlX9mTc+h78XhyhrcT0Kk9GlhzkTghu6uFWNg4N7r3X D87PlvKy1cFh/kom1maXFoQaSli+7fSYKipeopRef4ZeN0eeUjGDCjuU5+Jc3Muh WldUZoioCVKChSxdZv4npTEpHFs+jROjLmIX4VJIcl7r1uVPrBBM3Cdw+7jueXVJ yotArfavmnWyJrP1+PFjQ195CagCKbeKsPai32zRnxq3pUIBSPNoUPYEinc/e6y0 MATL7SiullOp4X1Lall3ebn7CQv7NvRDUET5ce7J/PW5cnNFJRVJfwmLRI4yPpDo yG7Q9v4pYVXXadY15xcL8k9wSH4DY6VmVr3vJWsydnGfO3ooAZ5d4ydddBDIK5t4 WRcsqB475bv+Thl5NXPCqirPPipJ+/Iku6g2qj9NsaMnhaGhJAoSkNQkalhnes7T zg== =IBfh -----END PGP SIGNATURE----- --------=_MB78748C97-220D-4409-9499-B75360C2142F--