mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 09:47:13 +00:00
Pre decode address headers
This commit is contained in:
parent
4136a5b3e6
commit
8d168dc967
1 changed files with 2 additions and 0 deletions
|
@ -2260,6 +2260,8 @@ public class MessageHelper {
|
|||
|
||||
header = fixEncoding(name, header);
|
||||
header = header.replaceAll("\\?=[\\r\\n\\t ]+=\\?", "\\?==\\?");
|
||||
header = MimeUtility.unfold(header);
|
||||
header = decodeMime(header);
|
||||
Address[] addresses = InternetAddress.parseHeader(header, false);
|
||||
|
||||
List<Address> result = new ArrayList<>();
|
||||
|
|
Loading…
Reference in a new issue