Normalize subject

pull/174/head
M66B 5 years ago
parent 3c64ce05af
commit 81e97da66b

@ -1022,7 +1022,10 @@ public class MessageHelper {
subject = MimeUtility.unfold(subject); subject = MimeUtility.unfold(subject);
subject = decodeMime(subject); subject = decodeMime(subject);
return subject; return subject
.trim()
.replace("\n", "")
.replace("\r", "");
} }
Long getSize() throws MessagingException { Long getSize() throws MessagingException {

Loading…
Cancel
Save