diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-02-03 13:58:07 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-02-03 13:58:07 +0000 |
| commit | 087ed09fd1ff749848acc82505db7e80145fa834 (patch) | |
| tree | ec1632d05faa9df6ab4fb7f3326cb8259e613fda /roundcubemail/program/include/rcmail.php | |
| parent | 6e3ab8ae0acca60e7e8c6d09fb9509ad4103c0ee (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/rcmail.php')
| -rw-r--r-- | roundcubemail/program/include/rcmail.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/include/rcmail.php b/roundcubemail/program/include/rcmail.php index c2ca51aea..8c80fe20b 100644 --- a/roundcubemail/program/include/rcmail.php +++ b/roundcubemail/program/include/rcmail.php @@ -699,12 +699,12 @@ class rcmail // 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 |
