[Bug 5734] New: notify: double-encoded commit messages

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Mon Nov 6 07:39:51 UTC 2017


https://bz.mercurial-scm.org/show_bug.cgi?id=5734

            Bug ID: 5734
           Summary: notify: double-encoded commit messages
           Product: Mercurial
           Version: 4.3.1
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: tk at giga.or.at
                CC: mercurial-devel at mercurial-scm.org

We have the notify extension configured to send emails on commits. Some bigger
commits to one of our repositories arrive unreadably, looking like this:


Header:
...
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
...

Body:
TW9kdWxlIE5hbWU6CW5paC93ZWJzcGFjZQpDb21taXR0ZWQgQnk6CURpZXRlciBCYXJvbiA8ZGls
bG9AbmloLmF0PgpEYXRlOgkJTW9uIE5vdiAwNiAxMzoyOToxNiAyMDE3ICswMTAwCkNoYW5nZXNl
dDoJZDk4YmQxNmI0NzYwCgpNb2RpZmllZCBGaWxlczoKCW5paC5hdC9fc2l0ZS9OZW9Qb3AtU0RM
...

This looks like base64 encoded data, not quoted-printable one. So for testing
purposes, I manually changed the "Content-Transfer-Encoding" on such a mail to
"base64" and could read the email. However, it then still containted quoted
printables like "=20" or "=<NL>".

Something's going strangely wrong here.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list