mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-31 20:25:38 +00:00
parent
af55b0bbaf
commit
9291dff9f7
1 changed files with 1 additions and 2 deletions
|
@ -995,10 +995,9 @@ public class MessageHelper {
|
|||
if (subject == null)
|
||||
return null;
|
||||
|
||||
// https://github.com/eclipse-ee4j/mail/issues/423
|
||||
|
||||
subject = subject.replaceAll("\\?=\\r?\\n\\s+=\\?", "\\?==\\?");
|
||||
subject = MimeUtility.unfold(subject);
|
||||
subject = new String(subject.getBytes(StandardCharsets.ISO_8859_1));
|
||||
subject = decodeMime(subject);
|
||||
|
||||
return subject;
|
||||
|
|
Loading…
Reference in a new issue