X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Fread_body.php;h=34e7712cce87e089421eac77be33494574014861;hp=a2585bd31b074f76cdf8f3162260705845632b39;hb=dfd93ee7a096bbaa5c753384136cc867dbacaf2c;hpb=3d48999d773bac8b63af4073735cd3714baa81fe diff --git a/src/read_body.php b/src/read_body.php index a2585bd3..34e7712c 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -1,351 +1,999 @@ "; - 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 " |