From 4946e23bdc8e784568a707ad37d66957f5d88867 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus <thomas@tanghus.net> Date: Sun, 19 Aug 2012 16:32:32 +0200 Subject: [PATCH] Strip slashes from commas and semi-colons. --- apps/contacts/lib/vcard.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/contacts/lib/vcard.php b/apps/contacts/lib/vcard.php index 91ac89f553..81ae689d9a 100644 --- a/apps/contacts/lib/vcard.php +++ b/apps/contacts/lib/vcard.php @@ -552,6 +552,9 @@ class OC_Contacts_VCard{ } } } + if(is_string($value)) { + $value = strtr($value, array('\,' => ',', '\;' => ';')); + } $temp = array( 'name' => $property->name, 'value' => $value, -- GitLab