X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Fread_body.php;h=a16372b1a8bc8ebd648dac36efd829c958579b2b;hp=964f79d58ff14fa04bbe0efd47db80d5edf85118;hb=c221adcec8a4cdaf0f89fa83897444671ae4e403;hpb=8d8ab69aaf81e9fdd15396c783f0e40e698e839f
diff --git a/src/read_body.php b/src/read_body.php
index 964f79d5..a16372b1 100644
--- a/src/read_body.php
+++ b/src/read_body.php
@@ -34,10 +34,16 @@
$read = sqimap_read_data ($imapConnection, "a003", true, $a, $b);
echo "
";
- echo "
"; for ($i=1; $i < count($read)-1; $i++) { $read[$i] = htmlspecialchars($read[$i]); @@ -46,12 +52,14 @@ substr($read[$i], 0, 1) != "&" && trim($read[$i])) { $pre = substr($read[$i], 0, strpos($read[$i], ":")); - $read[$i] = str_replace("$pre", "$pre", $read[$i]); + $read[$i] = str_replace("$pre", "$pre", decodeHeader($read[$i])); } echo "$read[$i]"; } echo " |