Mercurial > hg
comparison tests/test-keyword.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 | 237d2502ee6e |
children | eb586ed5d8ce |
comparison
equal
deleted
inserted
replaced
34309:b94db1780365 | 34310:2d0c306a88c2 |
---|---|
258 requesting all changes | 258 requesting all changes |
259 adding changesets | 259 adding changesets |
260 adding manifests | 260 adding manifests |
261 adding file changes | 261 adding file changes |
262 added 2 changesets with 3 changes to 3 files | 262 added 2 changesets with 3 changes to 3 files |
263 MIME-Version: 1.0 | |
263 Content-Type: text/plain; charset="us-ascii" | 264 Content-Type: text/plain; charset="us-ascii" |
264 MIME-Version: 1.0 | |
265 Content-Transfer-Encoding: 7bit | 265 Content-Transfer-Encoding: 7bit |
266 Date: * (glob) | 266 Date: * (glob) |
267 Subject: changeset in... | 267 Subject: changeset in... |
268 From: mercurial | 268 From: mercurial |
269 X-Hg-Notification: changeset a2392c293916 | 269 X-Hg-Notification: changeset a2392c293916 |
281 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | 281 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
282 +++ b/sym Sat Feb 09 20:25:47 2008 +0100 | 282 +++ b/sym Sat Feb 09 20:25:47 2008 +0100 |
283 @@ -0,0 +1,1 @@ | 283 @@ -0,0 +1,1 @@ |
284 +a | 284 +a |
285 \ No newline at end of file | 285 \ No newline at end of file |
286 MIME-Version: 1.0 | |
286 Content-Type: text/plain; charset="us-ascii" | 287 Content-Type: text/plain; charset="us-ascii" |
287 MIME-Version: 1.0 | |
288 Content-Transfer-Encoding: 7bit | 288 Content-Transfer-Encoding: 7bit |
289 Date:* (glob) | 289 Date:* (glob) |
290 Subject: changeset in... | 290 Subject: changeset in... |
291 From: User Name <user@example.com> | 291 From: User Name <user@example.com> |
292 X-Hg-Notification: changeset ef63ca68695b | 292 X-Hg-Notification: changeset ef63ca68695b |