mirror of https://github.com/M66B/FairEmail.git
Fixed parsing headers
This commit is contained in:
parent
80200de9dc
commit
5620e8b2c0
|
@ -545,10 +545,7 @@ public class MessageHelper {
|
||||||
if (header == null)
|
if (header == null)
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
header = MimeUtility.unfold(header);
|
|
||||||
header = new String(header.getBytes(StandardCharsets.ISO_8859_1));
|
header = new String(header.getBytes(StandardCharsets.ISO_8859_1));
|
||||||
header = decodeMime(header);
|
|
||||||
|
|
||||||
return InternetAddress.parseHeader(header, false);
|
return InternetAddress.parseHeader(header, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue