Mercurial > public > mercurial-scm > hg
diff tests/test-notify-changegroup.t @ 34310:2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
3e544c074459 introduced a bug: emails Content-Transfer-Encoding
is silently replaced with 'quoted-printable' while any other
encoding could be used by underlying code. The problem is revealed
when a long unicode line is encoded.
The patch implements proper check which works for any text and
encoding.
author | Igor Ippolitov <iippolitov@gmail.com> |
---|---|
date | Tue, 26 Sep 2017 16:14:57 +0300 |
parents | 24849d53697d |
children | eb586ed5d8ce |
line wrap: on
line diff
--- a/tests/test-notify-changegroup.t Sat Sep 23 14:58:40 2017 -0700 +++ b/tests/test-notify-changegroup.t Tue Sep 26 16:14:57 2017 +0300 @@ -46,8 +46,8 @@ adding manifests adding file changes added 2 changesets with 2 changes to 1 files + MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" - MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Date: * (glob) Subject: * (glob) @@ -97,8 +97,8 @@ adding manifests adding file changes added 2 changesets with 2 changes to 1 files + MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" - MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Date: * (glob) Subject: * (glob) @@ -174,8 +174,8 @@ adding manifests adding file changes added 4 changesets with 4 changes to 1 files + MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" - MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Date: * (glob) Subject: * (glob)