mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 23:26:12 +02:00
Validate BIMI certificates
This commit is contained in:
@@ -832,7 +832,7 @@ public class EmailService implements AutoCloseable {
|
||||
}
|
||||
|
||||
// Check host name
|
||||
List<String> names = ConnectionHelper.getDnsNames(certificate);
|
||||
List<String> names = EntityCertificate.getDnsNames(certificate);
|
||||
if (ConnectionHelper.matches(server, names))
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user