protected String getVal(Single term) { String rhs = term.getRhs(); AttributeManager attrMgr = null; try { attrMgr = AttributeManager.getInstance(); } catch (ServiceException e) { ZimbraLog.account.warn("failed to get AttributeManager instance", e); } IDNType idnType = AttributeManager.idnType(attrMgr, term.getLhs()); rhs = IDNUtil.toAscii(rhs, idnType); return rhs; }
protected String getVal(Single term) { // return LdapUtil.escapeSearchFilterArg(term.getRhs()); return term.getRhs(); }