X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fread_body.php;h=1440363b5ee3c722c52f127e6aafa9727459b79c;hb=069b4374494c35d8c68a8710841ed5180f1a8ba3;hp=4c9f5c312cb984f7c625c77095b55b592aa2361e;hpb=e146912692c921160f93dcb6da97dc6246bf95d2;p=squirrelmail.git diff --git a/src/read_body.php b/src/read_body.php index 4c9f5c31..1440363b 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -1,4 +1,16 @@ - +"; + 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 " |