1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00
"Character '&' in address data causes wrong data".
This was also the case for the 'N' property.
This commit is contained in:
Thomas Tanghus 2012-01-24 23:02:02 +01:00
parent 6d8d8528df
commit ffe0e5ac48

View File

@ -323,7 +323,7 @@ class OC_Contacts_VCard{
*/ */
public static function structureProperty($property){ public static function structureProperty($property){
$value = $property->value; $value = $property->value;
$value = htmlspecialchars($value); //$value = htmlspecialchars($value);
if($property->name == 'ADR' || $property->name == 'N'){ if($property->name == 'ADR' || $property->name == 'N'){
$value = OC_VObject::unescapeSemicolons($value); $value = OC_VObject::unescapeSemicolons($value);
} }