From: lkehresman Date: Fri, 5 May 2000 01:23:25 +0000 (+0000) Subject: address book saves stuff between instances X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=11728a4d9f35ffad2565161550441b6800e54c40 address book saves stuff between instances git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@497 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/imap_messages.php b/functions/imap_messages.php index 9898710e..dee22165 100755 --- a/functions/imap_messages.php +++ b/functions/imap_messages.php @@ -259,7 +259,7 @@ $pos = 0; $header["CC"][$pos] = trim(substr($read[$i], 4)); $i++; - while ((substr($read[$i], 0, 1) == " ") && (trim($read[$i]) != "")) { + while (((substr($read[$i], 0, 1) == " ") || (substr($read[$i], 0, 1) == "\t")) && (trim($read[$i]) != "")){ $pos++; $header["CC"][$pos] = trim($read[$i]); $i++; @@ -270,7 +270,7 @@ $pos = 0; $header["TO"][$pos] = trim(substr($read[$i], 4)); $i++; - while ((substr($read[$i], 0, 1) == " ") && (trim($read[$i]) != "")){ + while (((substr($read[$i], 0, 1) == " ") || (substr($read[$i], 0, 1) == "\t")) && (trim($read[$i]) != "")){ $pos++; $header["TO"][$pos] = trim($read[$i]); $i++; diff --git a/src/addrbook_search_html.php b/src/addrbook_search_html.php index d2882528..02a35b4c 100644 --- a/src/addrbook_search_html.php +++ b/src/addrbook_search_html.php @@ -34,7 +34,6 @@ displayPageHeader($color, "None"); //
- $body = stripslashes($body); $send_to = stripslashes($send_to); $send_to_cc = stripslashes($send_to_cc);