From 5458e5293564f432ad2eed0457cbe94321ee7114 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Tue, 24 Jan 2012 23:02:02 +0100 Subject: [PATCH] Fixed http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-92 "Character '&' in address data causes wrong data". This was also the case for the 'N' property. --- apps/contacts/lib/vcard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/contacts/lib/vcard.php b/apps/contacts/lib/vcard.php index c99d53c9716..ceac2dcfad2 100644 --- a/apps/contacts/lib/vcard.php +++ b/apps/contacts/lib/vcard.php @@ -323,7 +323,7 @@ class OC_Contacts_VCard{ */ public static function structureProperty($property){ $value = $property->value; - $value = htmlspecialchars($value); + //$value = htmlspecialchars($value); if($property->name == 'ADR' || $property->name == 'N'){ $value = OC_VObject::unescapeSemicolons($value); } -- 2.39.5