summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcube_ldap.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-02-03 13:58:07 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-02-03 13:58:07 +0000
commit087ed09fd1ff749848acc82505db7e80145fa834 (patch)
treeec1632d05faa9df6ab4fb7f3326cb8259e613fda /roundcubemail/program/include/rcube_ldap.php
parent6e3ab8ae0acca60e7e8c6d09fb9509ad4103c0ee (diff)
- Fix IDNA support when IDN/INTL modules are in use (#1487742)
git-svn-id: https://svn.roundcube.net/trunk@4484 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_ldap.php')
-rw-r--r--roundcubemail/program/include/rcube_ldap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_ldap.php b/roundcubemail/program/include/rcube_ldap.php
index 4fe74e310..5db92201b 100644
--- a/roundcubemail/program/include/rcube_ldap.php
+++ b/roundcubemail/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']))