From 825c1e8614b728f08a041b872525b1fced2a46e3 Mon Sep 17 00:00:00 2001 From: ralf Date: Fri, 8 Sep 2023 09:34:34 +0200 Subject: [PATCH] * Mail: equal sign followed by numbers is mangled in plain-text mails (e.g. =22 becomes a ") If we detected qprint encoding in the plain-text body of a composed mail (not an arrived mail!), we wrongly decoded it. --- mail/inc/class.mail_compose.inc.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/mail/inc/class.mail_compose.inc.php b/mail/inc/class.mail_compose.inc.php index 2285f675b1..040dd21363 100644 --- a/mail/inc/class.mail_compose.inc.php +++ b/mail/inc/class.mail_compose.inc.php @@ -2496,11 +2496,6 @@ class mail_compose $_mailObject->addHeader('Subject', $_formData['subject']); - // this should never happen since we come from the edit dialog - if (Mail::detect_qp($_formData['body'])) { - $_formData['body'] = preg_replace('/=\r\n/', '', $_formData['body']); - $_formData['body'] = quoted_printable_decode($_formData['body']); - } $disableRuler = false; $signature = $_identity['ident_signature']; $sigAlreadyThere = $this->mailPreferences['insertSignatureAtTopOfMessage']!='no_belowaftersend'?1:0;