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:
parent
6d8d8528df
commit
ffe0e5ac48
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user