This commit is contained in:
Philipp Crocoll
2018-12-10 11:23:44 +01:00
parent 665639fdca
commit e2e7666c4f

View File

@@ -191,10 +191,9 @@ namespace keepass2android.services.AutofillBase
String webDomain = viewNode.WebDomain;
if (webDomain != null)
{
CommonUtil.logd($"child web domain: {webDomain}");
if (!string.IsNullOrEmpty(validWebdomain))
if (!string.IsNullOrEmpty(validWebdomain))
{
if (webDomain == validWebdomain)
if (webDomain != validWebdomain)
{
throw new Java.Lang.SecurityException($"Found multiple web domains: valid= {validWebdomain}, child={webDomain}");
}