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

View File

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