summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-10-04 13:20:41 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-10-04 13:20:41 +0000
commitdcb6e0dbed04c62b17ab1b4907e19b40b8b738be (patch)
tree3228837a6771bda977325c33f9014e93bf4ac156 /roundcubemail/program/steps
parent554818bcd078eab8a6184034e3b5940c6caaa02f (diff)
- Convert address to utf8 on contacts import
git-svn-id: https://svn.roundcube.net/trunk@4033 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
-rw-r--r--roundcubemail/program/steps/addressbook/import.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/roundcubemail/program/steps/addressbook/import.inc b/roundcubemail/program/steps/addressbook/import.inc
index 2390e98c9..ceb683227 100644
--- a/roundcubemail/program/steps/addressbook/import.inc
+++ b/roundcubemail/program/steps/addressbook/import.inc
@@ -134,6 +134,9 @@ if ($_FILES['_file']['tmp_name'] && is_uploaded_file($_FILES['_file']['tmp_name'
$IMPORT_STATS->nomail++;
continue;
}
+
+ // We're using UTF8 internally
+ $email = idn_to_utf8($email);
if (!$replace) {
// compare e-mail address