mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 02:07:12 +00:00
ARC: allow whitelisting all domains
This commit is contained in:
parent
567cc07ecc
commit
864a090d82
1 changed files with 2 additions and 1 deletions
|
@ -2104,7 +2104,8 @@ public class MessageHelper {
|
|||
String arc = ams.get(ams.size());
|
||||
String signer = verifySignatureHeader(context, arc, ARC_MESSAGE_SIGNATURE, amessage);
|
||||
if (signer != null && !signers.contains(signer)) {
|
||||
boolean whitelisted = whitelist.contains(signer);
|
||||
boolean whitelisted = (whitelist.contains(signer) ||
|
||||
"*".equals(native_arc_whitelist));
|
||||
Log.i("ARC signer=" + signer + " whitelisted=" + whitelisted);
|
||||
if (whitelisted)
|
||||
signers.add(signer);
|
||||
|
|
Loading…
Reference in a new issue