From 5458e5293564f432ad2eed0457cbe94321ee7114 Mon Sep 17 00:00:00 2001
From: Thomas Tanghus <thomas@tanghus.net>
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 c99d53c971..ceac2dcfad 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);
 		}
-- 
GitLab