Added Public Suffix List

This commit is contained in:
M66B
2021-07-20 22:16:20 +02:00
parent b1419b32f1
commit 6375a502c0
8 changed files with 13805 additions and 10 deletions

View File

@@ -867,7 +867,7 @@ public class EntityRule {
int at = sender.indexOf('@');
if (at > 0) {
boolean whitelisted = false;
String domain = UriHelper.getParentDomain(sender.substring(at + 1));
String domain = UriHelper.getParentDomain(context, sender.substring(at + 1));
for (String d : whitelist)
if (domain.matches(d)) {
whitelisted = true;