Broken email diff notification (Base64 main body)

Issue #12434 closed
Serguei Mokhov
created an issue

Hello, yesterday for the first time received a buggy changeset commit notification that is pure base64 in the main body of the email that looks like below. Never seen such before. This is the 'Email Diff' service under Hooks. The email in question looks like this (the beginning of it, the full changeset is relatively long). It's clear content-type header is wrong (it became utf8 8 bit whereas the previous one was was us-ascii 7 bit. My email is replaced by me. Below is what you see is also how the body is rendered in gmail and alpine email clients.

Received: from oldperseverance.encs.concordia.ca (root@oldperseverance.encs.concordia.ca [132.205.96.92])
    by oldtact.encs.concordia.ca (8.14.5/8.14.5) with ESMTP id u1T57soY005753
    for <me>; Mon, 29 Feb 2016 00:07:54 -0500
Received: from lb01.bitbucket.org (lb01-ash.bitbucket.org [131.103.20.165])
    by oldperseverance.encs.concordia.ca (envelope-from commits-noreply@bitbucket.org) (8.13.7/8.13.7) with ESMTP id u1T57gQB009973
    for <me>; Mon, 29 Feb 2016 00:07:54 -0500
Received: from celery-worker-103.ash1.bb-inf.net (celery-worker-103.ash1.bb-inf.net [172.17.10.55])
    by lb01.bitbucket.org (Postfix) with ESMTP id 9E0BDA83955
    for <me>; Mon, 29 Feb 2016 05:07:41 +0000 (UTC)
Received: from celery-worker-103.ash1.bb-inf.net (localhost.localdomain [127.0.0.1])
    by celery-worker-103.ash1.bb-inf.net (Postfix) with ESMTP id 969C62F3E7
    for <me>; Mon, 29 Feb 2016 05:07:41 +0000 (UTC)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Subject: commit/mdreams-multicam-tk: 5 new changesets
From: commits-noreply@bitbucket.org
To: me
Date: Mon, 29 Feb 2016 05:07:41 -0000
Message-ID: <20160229050741.31258.32678@celery-worker-103.ash1.bb-inf.net>

NSBuZXcgY29tbWl0cyBpbiBtZHJlYW1zLW11bHRpY2FtLXRrOgoKaHR0cHM6Ly9iaXRidWNrZXQu
b3JnL21kcmVhbXMtbXVsdGljYW0vbWRyZWFtcy1tdWx0aWNhbS10ay9jb21taXRzL2VjOTdhZDQy
PQphZDMxLwpDaGFuZ2VzZXQ6ICAgZWM5N2FkNDJhZDMxCkJyYW5jaDogICAgICBOb25lClVzZXI6
ICAgICAgICBzX21va2hvdgpEYXRlOiAgICAgICAgMjAxNi0wMi0yOSAwNDozNDo0MSswMDowMApT
dW1tYXJ5OiAgICAgQmVnaW4gYWRkaW5nIHByb3RvbmVjdCBzdHVmZiBpbnRvIHRoZSBtaXggdG8g
Y29tcGlsZSB3aXRoaW4gdGg9CmUgc2FtZSBidW5kbGUuCkhlYWRlcnMgYXJlIG5vdyBhbGwgZm91
bmQgYW5kIHNvbWUgbGlicy4gRG8gc28gaW4gYSBzZXBhcmF0ZSBicmFuY2guCgpBZmZlY3RlZCAj
OiAgMiBmaWxlcwoKZGlmZiAtLWdpdCBhL3NyYy9NdWx0aUNhbVRrKysvTXV0bGlDYW1UaysrL011
dGxpQ2FtVGsrKy52Y3hwcm9qIGIvc3JjL011bHRpPQpDYW1UaysrL011dGxpQ2FtVGsrKy9NdXRs
aUNhbVRrKysudmN4cHJvagppbmRleCAzYmU2ZjJiLi5mODY2YzgxIDEwMDY0NAotLS0gYS9zcmMv
TXVsdGlDYW1UaysrL011dGxpQ2FtVGsrKy9NdXRsaUNhbVRrKysudmN4cHJvagorKysgYi9zcmMv
TXVsdGlDYW1UaysrL011dGxpQ2FtVGsrKy9NdXRsaUNhbVRrKysudmN4cHJvagpAQCAtOTYsMTQg
Kzk2LDE0IEBAIHhjb3B5IC9EIC9GIC9ZICIkKFByb2plY3REaXIpXGdsdXQzMi5kbGwiICIkKE91
...

Previously good looking commit changeset email looked like that:

Return-Path: <commits-noreply@bitbucket.org>
Received: from oldperseverance.encs.concordia.ca (root@oldperseverance.encs.concordia.ca [132.205.96.92])
    by oldtact.encs.concordia.ca (8.14.5/8.14.5) with ESMTP id u1S4TQnI003551
    for <mokhov@cse.concordia.ca>; Sat, 27 Feb 2016 23:29:26 -0500
Received: from lb01.bitbucket.org (lb01-ash.bitbucket.org [131.103.20.165])
    by oldperseverance.encs.concordia.ca (envelope-from commits-noreply@bitbucket.org) (8.13.7/8.13.7) with ESMTP id u1S4TDMP006341
    for <mokhov@cse.concordia.ca>; Sat, 27 Feb 2016 23:29:26 -0500
Received: from celery-worker-103.ash1.bb-inf.net (celery-worker-103.ash1.bb-inf.net [172.17.10.55])
    by lb01.bitbucket.org (Postfix) with ESMTP id A4CD0A828EF
    for <mokhov@cse.concordia.ca>; Sun, 28 Feb 2016 04:29:13 +0000 (UTC)
Received: from celery-worker-103.ash1.bb-inf.net (localhost.localdomain [127.0.0.1])
    by celery-worker-103.ash1.bb-inf.net (Postfix) with ESMTP id A1C2F2F3E7
    for <mokhov@cse.concordia.ca>; Sun, 28 Feb 2016 04:29:13 +0000 (UTC)
MIME-Version: 1.0
Subject: commit/mdreams-multicam-tk: 5 new changesets
From: commits-noreply@bitbucket.org
To: me
Date: Sun, 28 Feb 2016 04:29:13 -0000
Message-ID: <20160228042913.26731.38912@celery-worker-103.ash1.bb-inf.net>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit


5 new commits in mdreams-multicam-tk:

https://bitbucket.org/mdreams-multicam/mdreams-multicam-tk/commits/d8bb3....
Changeset:   d8bb3b...
Branch:      None
User:        s_mokhov
Date:        2016-02-28 03:20:05+00:00
Summary:     Enable all ....

Affected #:  1 file

diff --git ...
index 7bfb583..da5da6e 100644
...

Comments (2)

  1. Marcus Bertrand staff

    As there's been no activity on this issue for some time, we're closing this issue. If you continue to have issues using Bitbucket Cloud, please raise a new issue here for Bug/Features and support.atlassian.com for Support.

    Cheers,

  2. Log in to comment