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:
parent
616d3b57e8
commit
f35f041633
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue