From e8d5bdc84ecfdf6fe5008655215a258bbdf0c521 Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 3 Feb 2011 13:58:07 +0000 Subject: - Fix IDNA support when IDN/INTL modules are in use (#1487742) --- program/include/rcube_ldap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/include/rcube_ldap.php') diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php index 4fe74e310..5db92201b 100644 --- a/program/include/rcube_ldap.php +++ b/program/include/rcube_ldap.php @@ -138,7 +138,7 @@ class rcube_ldap extends rcube_addressbook foreach ($this->prop['hosts'] as $host) { - $host = idn_to_ascii(rcube_parse_host($host)); + $host = rcube_idn_to_ascii(rcube_parse_host($host)); $this->_debug("C: Connect [$host".($this->prop['port'] ? ':'.$this->prop['port'] : '')."]"); if ($lc = @ldap_connect($host, $this->prop['port'])) -- cgit v1.2.3