Skip to content

Strange quote rendering in moderator email #220

Description

@ForNeVeR

Today I've received a email with the following body from loglist:

Message-ID: <[REDACTED]>
Subject: LogList Suggested Quote: https://t.me/radio_t_chat/65425
Return-Path: [REDACTED]
X-Yandex-Forward: [REDACTED]

Grigory
 Bakunov, [11.07.2...
MIME-Version: 1.0
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable



<a href=3D"http://loglist.xyz/quote/approve?[REDACTED]=
[REDACTED]">Manage the Suggested Quote</a>
<pre>https://t.me/radio_t_chat/65425

Grigory Bakunov, [11.07.20 22:43]
=D0=BA=D0=B0=D0=BA =D0=B6=D0=B5 =D0=B1=D0=BB=D0=B8=D0=BD =D1=85=D0=BE=D1=80=
=D0=BE=D1=88=D0=BE =D1=81 =D0=B5=D0=BC=D0=B0=D0=BA=D1=81=D0=BE=D0=BC =D0=B2=
=D1=81=D0=B5=D0=B3=D0=B4=D0=B0. =D0=B8=D0=BD=D0=BE=D0=B3=D0=B4=D0=B0 =D0=BF=
=D1=80=D1=8F=D0=BC=D0=BE =D0=BA=D0=B0=D0=BA =D1=81=D0=B5=D0=BA=D1=81</pre>
<pre>(Source: user)</pre>

In my email clients (both Yandex web mail client and Mailspring) it got rendered as this:
image

It obviously tried to send a HTML message, but something was very mangled during the sending. Looks like the (multi-line?) subject was somehow interleaved with the actual message body: probably the subject was meant to be "https://t.me/radio_t_chat/65425 Grigory Bakunov, [11.07.2...", but the mail server has inserted its headers in between the subject lines, so the message structure was completely destroyed, and the headers Content-Type and Content-Transfer-Encoding went to the message body instead of the message header.

The Unicode message text then got broken due to missing Content-* headers.

Probably, it has something to do with the link in the first line of the message? Dunno.

For comparison, here's a non-broken message I've received a while ago:

Message-ID: <[REDACTED]>
Subject: =?UTF-8?Q?LogList_Suggested_Quot?=
 =?UTF-8?Q?e:_=D0=A2=D0=B8=D0=BC=D0=B5=D1=80=D0=BB=D0=B0=D0=BD,_[07.07.20?=
 =?UTF-8?Q?_20:05]=0D=0A=D0=A0=D0=B5?=
 =?UTF-8?Q?=D0=B1=D1=8F=D1=82_=D0=B5=D1=81=D1=82=D1=8C_=D0=B2=D0=BE?=
 =?UTF-8?Q?=D0=BF=D1=80=D0=BE=D1=81.=D0=B7=D0=BD=D0=B0=D1=8E:=0D?=
 =?UTF-8?Q?=0A_=D1=86=D0=B8=D0=BA=D0=BB=D1=8B,...?=
MIME-Version: 1.0
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Return-Path: [REDACTED]
X-Yandex-Forward: [REDACTED]



<a href=3D"http://loglist.xyz/quote/[REDACTED]=
[REDACTED]">Manage the Suggested Quote</a>
<pre>=D0=A2=D0=B8=D0=BC=D0=B5=D1=80=D0=BB=D0=B0=D0=BD, [07.07.20 20:05]
=D0=A0=D0=B5=D0=B1=D1=8F=D1=82 =D0=B5=D1=81=D1=82=D1=8C =D0=B2=D0=BE=D0=BF=
=D1=80=D0=BE=D1=81.=D0=B7=D0=BD=D0=B0=D1=8E:
 =D1=86=D0=B8=D0=BA=D0=BB=D1=8B,=D0=BC=D0=B0=D1=81=D1=81=D0=B8=D0=B2=D1=8B =
=D0=BE=D0=B1=D1=8A=D0=B5=D0=BA=D1=82=D1=8B,=D1=84=D1=83=D0=BD=D0=BA=D1=86=
=D0=B8=D0=B8,DOM.=D0=B4=D0=BE=D1=81=D1=82=D0=B0=D1=82=D0=BE=D1=87=D0=BD=D0=
=BE =D0=BB=D0=B8 =D0=B7=D0=BD=D0=B0=D0=BD=D0=B8=D0=B9,=D1=87=D1=82=D0=BE=D0=
=B1 =D0=B7=D0=B0=D0=BF=D0=B8=D0=BB=D0=B8=D1=82=D1=8C =D0=BF=D1=80=D0=BE=D1=
=81=D1=82=D0=BE=D0=B9 =D0=BF=D1=80=D0=BE=D0=B5=D0=BA=D1=82?=D0=BC=D0=BE=D0=
=B3=D1=83 =D0=BB=D0=B8 =D1=8F =D1=81=D1=87=D0=B8=D1=82=D0=B0=D1=82=D1=8C=D1=
=81=D1=8F junior js dev?

Igor N, [07.07.20 20:14]
[In reply to =D0=A2=D0=B8=D0=BC=D0=B5=D1=80=D0=BB=D0=B0=D0=BD]
=D0=9D=D0=B0=D0=B7=D0=BD=D0=B0=D1=87=D0=B0=D1=8E =D1=82=D0=B5=D0=B1=D1=8F j=
unior js dev&#x27;=D0=BE=D0=BC. =D0=9C=D0=BE=D0=B6=D0=B5=D1=88=D1=8C =D0=BF=
=D0=B8=D0=BB=D0=B8=D1=82=D1=8C =D0=BF=D1=80=D0=BE=D1=81=D1=82=D0=BE=D0=B9 =
=D0=BF=D1=80=D0=BE=D0=B5=D0=BA=D1=82.</pre>
<pre>(Source: user)</pre>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions