From 00bf02a8e7e9f61885acd8c04012df48325d1ea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lehrke?= Date: Mon, 15 Mar 2010 17:23:08 +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 019985c81e..697764a25e 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 ba1ea0737f..361e7eabc8 100644 --- a/calendar/inc/class.calendar_sif.inc.php +++ b/calendar/inc/class.calendar_sif.inc.php @@ -958,7 +958,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 120a426662..210693c938 100644 --- a/infolog/inc/class.infolog_sif.inc.php +++ b/infolog/inc/class.infolog_sif.inc.php @@ -552,7 +552,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; }