mirror of https://github.com/M66B/FairEmail.git
Prevent removing spaces from subjects
This commit is contained in:
parent
ebd315384a
commit
f16fd13c06
|
@ -973,8 +973,8 @@ public class MessageHelper {
|
||||||
if (subject == null)
|
if (subject == null)
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
|
subject = subject.replaceAll("\\?=\\r?\\n\\s+=\\?", "\\?==\\?");
|
||||||
subject = MimeUtility.unfold(subject);
|
subject = MimeUtility.unfold(subject);
|
||||||
subject = subject.replaceAll("\\?=\\s+=\\?", "\\?==\\?");
|
|
||||||
subject = new String(subject.getBytes(StandardCharsets.ISO_8859_1));
|
subject = new String(subject.getBytes(StandardCharsets.ISO_8859_1));
|
||||||
subject = decodeMime(subject);
|
subject = decodeMime(subject);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue