1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-02 21:24:34 +00:00

Fixed signer check authentication results

This commit is contained in:
M66B 2024-12-08 18:11:42 +01:00
parent 616d3b57e8
commit f35f041633

View file

@ -2206,6 +2206,10 @@ public class MessageHelper {
String signer = null;
for (String header : headers) {
String v = getKeyValues(header).get(type);
if (v == null)
continue;
if (signer == null)
signer = getSigner(header);
else {
@ -2216,10 +2220,6 @@ public class MessageHelper {
}
}
String v = getKeyValues(header).get(type);
if (v == null)
continue;
String[] val = v.split("[^A-za-z]+");
if (val.length == 0)
continue;