X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fview_header.php;h=9e3c7411de5e92f2ec33a7337d86efe487e8ae1f;hb=d72549cb90b0473f1d7a99e796ede80dac1b1ec3;hp=9112261796b75b6c3df7cb4a79a363d03b036f3b;hpb=1977ab5587905d225c6288141b82f7a6e3d29d02;p=squirrelmail.git diff --git a/src/view_header.php b/src/view_header.php index 91122617..9e3c7411 100644 --- a/src/view_header.php +++ b/src/view_header.php @@ -5,7 +5,7 @@ * * This is the code to view the message header. * - * @copyright 1999-2010 The SquirrelMail Project Team + * @copyright 1999-2013 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -39,7 +39,7 @@ function parse_viewheader($imapConnection,$id, $passed_ent_id) { } $cnum = 0; for ($i=1; $i < count($read); $i++) { - $line = htmlspecialchars($read[$i]); + $line = sm_encode_html_special_chars($read[$i]); switch (true) { case (preg_match('/^>/i', $line)): $second[$i] = $line;