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

@@ -1095,7 +1095,7 @@ public class FragmentAccount extends FragmentBase {
db.beginTransaction();
if (account != null && !account.password.equals(password)) {
String domain = UriHelper.getParentDomain(account.host);
String domain = UriHelper.getParentDomain(context, account.host);
String match = (Objects.equals(account.host, domain) ? account.host : "%." + domain);
int count = db.identity().setIdentityPassword(account.id, account.user, password, match);
Log.i("Updated passwords=" + count + " match=" + match);