Fixed extra whitespace in addresses

pull/178/head
M66B 5 years ago
parent 01d9fbbf55
commit a707401bd4

@ -1046,6 +1046,7 @@ public class MessageHelper {
return null;
header = fixEncoding(name, header);
header = header.replaceAll("\\?=\\r?\\n\\s+=\\?", "\\?==\\?");
Address[] addresses = InternetAddress.parseHeader(header, false);
for (Address address : addresses) {

Loading…
Cancel
Save