From bd8af5b5878b6ef4ba5d24ad5ef2b1aeb1acd227 Mon Sep 17 00:00:00 2001 From: mathe42 <2pi_r2@gmx.de> Date: Fri, 22 Apr 2022 17:48:07 +0200 Subject: [PATCH] bugfix --- encoding.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/encoding.ts b/encoding.ts index 12d8268..b282735 100644 --- a/encoding.ts +++ b/encoding.ts @@ -16,7 +16,7 @@ export function quotedPrintableEncode(data: string, encLB = false) { if (encodedChar.length === 1) { const code = encodedChar[0]; - if (code >= 32 && code <= 126) return ch; + if (code >= 32 && code <= 126 && code !== 63) return ch; if (!encLB && (code === 10 || code === 13)) return ch; if (code === 9) return ch; }