X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Fread_body.php;h=380c5fcb8532c78bb707a5afd4769652e3204d33;hp=81edc14ae3754cf1c0fb08e107721d365bd37eac;hb=a07cd1a401ba4efc7fdcf418cb51449bee09fbdc;hpb=a2790a617beaef97a2d87e5bebc0e37a12c8c2ea diff --git a/src/read_body.php b/src/read_body.php index 81edc14a..380c5fcb 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -1,348 +1,664 @@ "; - 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 " |