From 9cccb418e6a54d82f83027da9484b5b525926472 Mon Sep 17 00:00:00 2001 From: gustavf Date: Tue, 21 Mar 2000 09:08:32 +0000 Subject: [PATCH] Changed htmpsecialchars(decodeHeader(...)) to decodeHeader(htmlspecialchars(...)). This is necessary because decodeHeader decodes things into HTML-entities. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@316 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/read_body.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/read_body.php b/src/read_body.php index 4c9f5c31..cf2d331c 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -88,8 +88,8 @@ } /** make sure everything will display in HTML format **/ - $from_name = htmlspecialchars(decodeHeader($message["HEADER"]["FROM"])); - $subject = htmlspecialchars(decodeHeader(stripslashes($message["HEADER"]["SUBJECT"]))); + $from_name = decodeHeader(htmlspecialchars($message["HEADER"]["FROM"])); + $subject = decodeHeader(htmlspecialchars(stripslashes($message["HEADER"]["SUBJECT"]))); echo "
"; echo "\n"; -- 2.25.1