This commit is contained in:
Peter Hormanns 2019-12-03 20:23:31 +01:00
parent 1828646653
commit 436e2b859a

View File

@ -423,8 +423,13 @@ public class DomainProcessorFactory implements EntityProcessorFactory {
}
final String validSubdomains = d.getValidsubdomainnames();
if (autoconfig && !validSubdomains.contains("autoconfig")) {
if (validSubdomains.length() > 0) {
d.setValidsubdomainnames(validSubdomains + ",autoconfig");
}
else {
d.setValidsubdomainnames("autoconfig");
}
}
}
}
templateVars.put("domains", domainsResultList);