Prevent removing spaces from subjects

This commit is contained in:
M66B 2020-01-26 11:27:47 +01:00
parent ebd315384a
commit f16fd13c06
1 changed files with 1 additions and 1 deletions

View File

@ -973,8 +973,8 @@ public class MessageHelper {
if (subject == null)
return null;
subject = subject.replaceAll("\\?=\\r?\\n\\s+=\\?", "\\?==\\?");
subject = MimeUtility.unfold(subject);
subject = subject.replaceAll("\\?=\\s+=\\?", "\\?==\\?");
subject = new String(subject.getBytes(StandardCharsets.ISO_8859_1));
subject = decodeMime(subject);