We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03e58ce commit 6bde56fCopy full SHA for 6bde56f
config/mail/encoding.ts
@@ -10,7 +10,6 @@ const encoder = new TextEncoder();
10
* @returns encoded string
11
*/
12
export function quotedPrintableEncode(data: string, encLB = false) {
13
- data.replaceAll("=", "=3D");
14
15
if (!encLB) {
16
data = data.replaceAll(" \r\n", "=20\r\n").replaceAll(" \n", "=20\n");
@@ -23,7 +22,7 @@ export function quotedPrintableEncode(data: string, encLB = false) {
23
22
if (encodedChar.length === 1) {
24
const code = encodedChar[0];
25
26
- if (code >= 32 && code <= 126 && code !== 61) return ch;
+ if (code >= 32 && code <= 126 && code !== 61 && code !== 46) return ch;
27
if (!encLB && (code === 10 || code === 13)) return ch;
28
if (code === 9) return ch;
29
}
0 commit comments