1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-03 21:55:13 +00:00

Prevent removing spaces from subjects

This commit is contained in:
M66B 2020-01-26 11:27:47 +01:00
parent ebd315384a
commit f16fd13c06

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);