From a722a461a96ea271bdeaf393d4eadc8d11843981 Mon Sep 17 00:00:00 2001 From: alex-brainstorm Date: Sun, 17 Aug 2003 15:21:08 +0000 Subject: [PATCH] replace htmlentities() with htmlspecialchars() since it is broken with non iso-8859-1 8bit chars git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5509 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/folders.php | 4 ++-- src/search.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/folders.php b/src/folders.php index aeedc2d0..73aa9ece 100644 --- a/src/folders.php +++ b/src/folders.php @@ -265,7 +265,7 @@ if ($count_special_folders < count($boxes)) { ($boxes[$i]["unformatted"] != $draft_folder)) { $box = htmlspecialchars($boxes[$i]["unformatted-dm"]); $box2 = str_replace(' ', ' ', - htmlentities(imap_utf7_decode_local($boxes[$i]["unformatted-disp"]))); + htmlspecialchars(imap_utf7_decode_local($boxes[$i]["unformatted-disp"]))); echo "