From: Thomas Tanghus Date: Tue, 24 Jan 2012 22:02:02 +0000 (+0100) Subject: Fixed http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-92 X-Git-Tag: v3.0~16 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5458e5293564f432ad2eed0457cbe94321ee7114;p=nextcloud-server.git 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. --- 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); }