"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 a77f3a07a1
commit 5458e52935

View 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);
}