resolve #28
This commit is contained in:
parent
b3ac5de909
commit
f89ed77a9d
@ -77,7 +77,7 @@ public class EMailAddress extends AbstractEntity implements Serializable {
|
|||||||
}
|
}
|
||||||
String[] doms = parts[1].split("\\.");
|
String[] doms = parts[1].split("\\.");
|
||||||
StringBuilder query = new StringBuilder("obj.localpart='" + parts[0]
|
StringBuilder query = new StringBuilder("obj.localpart='" + parts[0]
|
||||||
+ "' AND ( ( obj.subdomain IS NULL AND obj.domain.name='" + parts[1]
|
+ "' AND ( ( (obj.subdomain IS NULL OR obj.subdomain='') AND obj.domain.name='" + parts[1]
|
||||||
+ "' )");
|
+ "' )");
|
||||||
for (int subdomLevel = 1; subdomLevel < doms.length - 1; ++subdomLevel) {
|
for (int subdomLevel = 1; subdomLevel < doms.length - 1; ++subdomLevel) {
|
||||||
String subdom = "";
|
String subdom = "";
|
||||||
|
Loading…
Reference in New Issue
Block a user