|
@@ -14,7 +14,7 @@
|
|
|
**
|
|
|
** $Id$
|
|
|
**/
|
|
|
-
|
|
|
+
|
|
|
session_start();
|
|
|
|
|
|
if (!isset($strings_php))
|
|
@@ -48,9 +48,9 @@
|
|
|
global $forward_id, $imapConnection, $msg, $ent_num, $body_ary, $body,
|
|
|
$reply_id, $send_to, $send_to_cc, $mailbox, $send_to_bcc, $editor_size;
|
|
|
|
|
|
- $send_to = sqStripSlashes(decodeHeader($send_to));
|
|
|
- $send_to_cc = sqStripSlashes(decodeHeader($send_to_cc));
|
|
|
- $send_to_bcc = sqStripSlashes(decodeHeader($send_to_bcc));
|
|
|
+ $send_to = decodeHeader($send_to);
|
|
|
+ $send_to_cc = decodeHeader($send_to_cc);
|
|
|
+ $send_to_bcc = decodeHeader($send_to_bcc);
|
|
|
|
|
|
if ($forward_id)
|
|
|
$id = $forward_id;
|
|
@@ -197,7 +197,7 @@
|
|
|
$send_to_bcc, $reply_id, $mailbox, $from_htmladdr_search,
|
|
|
$location_of_buttons;
|
|
|
|
|
|
- $subject = sqStripSlashes(decodeHeader($subject));
|
|
|
+ $subject = decodeHeader($subject);
|
|
|
$reply_subj = decodeHeader($reply_subj);
|
|
|
$forward_subj = decodeHeader($forward_subj);
|
|
|
|
|
@@ -253,7 +253,6 @@
|
|
|
echo " </TD><TD BGCOLOR=\"$color[4]\" ALIGN=LEFT>\n";
|
|
|
if ($reply_subj) {
|
|
|
$reply_subj = str_replace("\"", "'", $reply_subj);
|
|
|
- $reply_subj = sqStripSlashes($reply_subj);
|
|
|
$reply_subj = trim($reply_subj);
|
|
|
if (substr(strtolower($reply_subj), 0, 3) != "re:")
|
|
|
$reply_subj = "Re: $reply_subj";
|
|
@@ -261,7 +260,6 @@
|
|
|
htmlspecialchars($reply_subj));
|
|
|
} else if ($forward_subj) {
|
|
|
$forward_subj = str_replace("\"", "'", $forward_subj);
|
|
|
- $forward_subj = sqStripSlashes($forward_subj);
|
|
|
$forward_subj = trim($forward_subj);
|
|
|
if ((substr(strtolower($forward_subj), 0, 4) != "fwd:") &&
|
|
|
(substr(strtolower($forward_subj), 0, 5) != "[fwd:") &&
|
|
@@ -429,10 +427,6 @@
|
|
|
is_logged_in();
|
|
|
displayPageHeader($color, $mailbox);
|
|
|
|
|
|
- $send_to = sqStripSlashes($send_to);
|
|
|
- $send_to_cc = sqStripSlashes($send_to_cc);
|
|
|
- $send_to_bcc = sqStripSlashes($send_to_bcc);
|
|
|
-
|
|
|
for ($i=0; $i < count($send_to_search); $i++) {
|
|
|
if ($send_to)
|
|
|
$send_to .= ", ";
|