Skip to content
Snippets Groups Projects
Commit 5458e529 authored by Thomas Tanghus's avatar Thomas Tanghus
Browse files
"Character '&' in address data causes wrong data".
This was also the case for the 'N' property.
parent a77f3a07
No related branches found
No related tags found
No related merge requests found
...@@ -323,7 +323,7 @@ class OC_Contacts_VCard{ ...@@ -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);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment