mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 21:34:44 +02:00
Apply unicode to resend headers
This commit is contained in:
@@ -382,7 +382,7 @@ public class MessageHelper {
|
||||
} else {
|
||||
// https://datatracker.ietf.org/doc/html/rfc2822#section-3.6.6
|
||||
ByteArrayInputStream bis = new ByteArrayInputStream(message.headers.getBytes());
|
||||
List<Header> headers = Collections.list(new InternetHeaders(bis).getAllHeaders());
|
||||
List<Header> headers = Collections.list(new InternetHeaders(bis, identity.unicode).getAllHeaders());
|
||||
|
||||
for (Header header : headers)
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user