]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fixed http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-92
authorThomas Tanghus <thomas@tanghus.net>
Tue, 24 Jan 2012 22:02:02 +0000 (23:02 +0100)
committerThomas Tanghus <thomas@tanghus.net>
Tue, 24 Jan 2012 22:08:40 +0000 (23:08 +0100)
"Character '&' in address data causes wrong data".
This was also the case for the 'N' property.

apps/contacts/lib/vcard.php

index c99d53c9716b5a0f6ba0f1e43d4ed604da401845..ceac2dcfad2d3bbf7c5cea14e1960d5b3ab16030 100644 (file)
@@ -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);
                }