X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Fread_body.php;h=cfcba74dce9d1a6a7b34276c4559c77fe2f4e176;hp=dc3c308af3c261d72ceeb560417b753cf75f1ef4;hb=fc40679899368b0aa03653cb8d5e294f60824335;hpb=508c06bf020df744a978fc85b6222bfa24f95d54 diff --git a/src/read_body.php b/src/read_body.php index dc3c308a..cfcba74d 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -1,336 +1,988 @@ "; - 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 " |