From 28383ae67da95f52ec52e171e7291b5121fd60dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lehrke?= Date: Mon, 15 Mar 2010 17:17:42 +0000 Subject: [PATCH] Fix Funambol SIF enconding --- addressbook/inc/class.addressbook_sif.inc.php | 2 +- calendar/inc/class.calendar_sif.inc.php | 2 +- infolog/inc/class.infolog_sif.inc.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addressbook/inc/class.addressbook_sif.inc.php b/addressbook/inc/class.addressbook_sif.inc.php index bdb735ea61..8ad5a9e4bd 100644 --- a/addressbook/inc/class.addressbook_sif.inc.php +++ b/addressbook/inc/class.addressbook_sif.inc.php @@ -300,7 +300,7 @@ class addressbook_sif extends addressbook_bo } default: - $value = @htmlspecialchars(trim($value), ENT_QUOTES, 'utf-8'); + $value = @htmlspecialchars(trim($value), ENT_NOQUOTES, 'utf-8'); $sifContact .= "<$sifField>$value"; break; } diff --git a/calendar/inc/class.calendar_sif.inc.php b/calendar/inc/class.calendar_sif.inc.php index 12f45b2b7a..120e9ae720 100644 --- a/calendar/inc/class.calendar_sif.inc.php +++ b/calendar/inc/class.calendar_sif.inc.php @@ -1150,7 +1150,7 @@ class calendar_sif extends calendar_boupdate } default: - $value = @htmlspecialchars($value, ENT_QUOTES, 'utf-8'); + $value = @htmlspecialchars($value, ENT_NOQUOTES, 'utf-8'); $sifEvent .= "<$sifField>$value"; } } diff --git a/infolog/inc/class.infolog_sif.inc.php b/infolog/inc/class.infolog_sif.inc.php index b1bc29a28b..ad1014d9bf 100644 --- a/infolog/inc/class.infolog_sif.inc.php +++ b/infolog/inc/class.infolog_sif.inc.php @@ -568,7 +568,7 @@ class infolog_sif extends infolog_bo } default: - $value = @htmlspecialchars($value, ENT_QUOTES, 'utf-8'); + $value = @htmlspecialchars($value, ENT_NOQUOTES, 'utf-8'); $sifTask .= "<$sifField>$value"; break; }