lib/kolab_sync_data_contacts.php
Aleksander Machniak
machniak at kolabsys.com
Mon Aug 18 10:01:02 CEST 2014
lib/kolab_sync_data_contacts.php | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit eedbfcd4992e35b70452ba35627d5d9f2f96438a
Author: Aleksander Machniak <alec at alec.pl>
Date: Mon Aug 18 09:59:16 2014 +0200
Add workaround for invalid data in contact email address (Android/HTCOneX) (#3287)
diff --git a/lib/kolab_sync_data_contacts.php b/lib/kolab_sync_data_contacts.php
index 97fefdf..e348474 100644
--- a/lib/kolab_sync_data_contacts.php
+++ b/lib/kolab_sync_data_contacts.php
@@ -247,6 +247,9 @@ class kolab_sync_data_contacts extends kolab_sync_data
$value = trim($matches[2]);
}
+ // sanitize email address, it can contain broken (non-unicode) characters (#3287)
+ $value = rcube_charset::clean($value);
+
// try to find address type, at least we can do this if
// address wasn't changed
$type = '';
More information about the commits
mailing list