X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Fread_body.php;h=fc08e01c9992679a421c5e37bb3cbf18aee81d8d;hp=a16372b1a8bc8ebd648dac36efd829c958579b2b;hb=bc94707193083bed407443b3b9e1f101992b77c8;hpb=c221adcec8a4cdaf0f89fa83897444671ae4e403 diff --git a/src/read_body.php b/src/read_body.php index a16372b1..d9a7fbe7 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -1,348 +1,865 @@ "; - echo "
"; - for ($i=1; $i < count($read)-1; $i++) { - $read[$i] = htmlspecialchars($read[$i]); - if (substr($read[$i], 0, 1) != "\t" && - substr($read[$i], 0, 1) != " " && - substr($read[$i], 0, 1) != "&" && - trim($read[$i])) { - $pre = substr($read[$i], 0, strpos($read[$i], ":")); - $read[$i] = str_replace("$pre", "$pre", decodeHeader($read[$i])); - } - echo "$read[$i]"; - } - echo " |