diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-08-19 16:32:32 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-08-19 16:32:32 +0200 |
commit | 4946e23bdc8e784568a707ad37d66957f5d88867 (patch) | |
tree | c24ceace355a0215c18d278fed52812aa2d081f2 | |
parent | a4e840f4f1017a469239dfaed95abbfc63fa31dd (diff) | |
download | nextcloud-server-4946e23bdc8e784568a707ad37d66957f5d88867.tar.gz nextcloud-server-4946e23bdc8e784568a707ad37d66957f5d88867.zip |
Strip slashes from commas and semi-colons.
-rw-r--r-- | apps/contacts/lib/vcard.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/contacts/lib/vcard.php b/apps/contacts/lib/vcard.php index 91ac89f5535..81ae689d9a2 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, |