From d1b6176d7ee330ec08c65ff5b140d6bf694c548f Mon Sep 17 00:00:00 2001 From: stekkel Date: Mon, 24 Feb 2003 19:36:54 +0000 Subject: [PATCH] charsetDecode / htmlspecialchar usage is a mess :-( git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4544 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mime.php | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/mime.php b/functions/mime.php index 4e2ac6c5..dd8ad901 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -271,6 +271,7 @@ function translateText(&$body, $wrap_at, $charset) { sqWordWrap($line, $wrap_at); } $line = charset_decode($charset, $line); + $line = htmlspecialchars($line); $line = str_replace("\t", ' ', $line); parseUrl ($line); -- 2.25.1