From b46e5b7407940499964d8a553c3eada05850f29d Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Wed, 09 Feb 2011 05:51:50 -0500 Subject: [PATCH] Apply more bugfixes from trunk for 0.5.1 --- program/include/rcmail.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/program/include/rcmail.php b/program/include/rcmail.php index e9f5b5f..4ff790d 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -691,12 +691,12 @@ // Here we need IDNA ASCII // Only rcube_contacts class is using domain names in Unicode - $host = idn_to_ascii($host); + $host = rcube_idn_to_ascii($host); if (strpos($username, '@')) { // lowercase domain name list($local, $domain) = explode('@', $username); $username = $local . '@' . mb_strtolower($domain); - $username = idn_to_ascii($username); + $username = rcube_idn_to_ascii($username); } // user already registered -> overwrite username -- Gitblit v1.9.1