E-Mails sent with 7bit Content-Transfer-Encoding contain 8-bit EM DASH character sequence
Summary
Saw this on salsa.debian.org and here on gitlab.com, the e-mails sent by gitlab declare Content-Transfer-Encoding: 7bit
, but in the body of the HTML part they contain an EM DASH (—):
<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<p>
Merge Request !284 was merged
</p>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777777;">
—
<br>
Reply to this email directly or <a href="https://gitlab.com/apparmor/apparmor/merge_requests/284">view it on GitLab</a>.
<br>
this might cause trouble with mail servers and incurs a penalty in rspamd due to the R_BAD_CTE_7BIT
check failing.
Steps to reproduce
Get an email from GitLab
Example Project
Any project.
What is the current bug behavior?
8 bit characters sent in 7 bit encoding
What is the expected correct behavior?
No 8 bit characters sent in 7 bit encoding
Relevant logs and/or screenshots
N/A
Output of checks
This bug happens on GitLab.com