Changed htmpsecialchars(decodeHeader(...)) to
authorgustavf <gustavf@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 21 Mar 2000 09:08:32 +0000 (09:08 +0000)
committergustavf <gustavf@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 21 Mar 2000 09:08:32 +0000 (09:08 +0000)
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

index 4c9f5c312cb984f7c625c77095b55b592aa2361e..cf2d331cf7f26120ac0f52260287011a9e385505 100644 (file)
@@ -88,8 +88,8 @@
    }
 
    /** make sure everything will display in HTML format **/
    }
 
    /** 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 "<BR>";
    echo "<TABLE COLS=1 CELLSPACING=0 WIDTH=98% BORDER=0 ALIGN=CENTER CELLPADDING=0>\n";
 
    echo "<BR>";
    echo "<TABLE COLS=1 CELLSPACING=0 WIDTH=98% BORDER=0 ALIGN=CENTER CELLPADDING=0>\n";