From 20085c46c31e7c6d38e17d03ebf8b26b02d2cfc1 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 29 Nov 2011 09:45:34 +0100 Subject: [PATCH] BUGFIX Consistently using multibyte-safe htmlentities() --- code/CMSMain.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/CMSMain.php b/code/CMSMain.php index f2636272..b1aea67a 100755 --- a/code/CMSMain.php +++ b/code/CMSMain.php @@ -1067,7 +1067,7 @@ JS; } return array( - "Message" => htmlentities($_REQUEST['Message']), + "Message" => htmlentities($_REQUEST['Message'], ENT_COMPAT, 'UTF-8'), "Buttons" => $buttons, "Modal" => $_REQUEST['Modal'] ? true : false, );