From: Tomas K. <to...@us...> - 2005-11-26 19:45:19
|
Update of /cvsroot/squirrelmail/squirrelmail/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10462 Modified Files: imap_general.php Log Message: http://bugs.php.net/bug.php?id=31341 PHP fixed escaping of curly brackets in 5.1. You can't escape { anymore. (#1366982) Index: imap_general.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/functions/imap_general.php,v retrieving revision 1.214 retrieving revision 1.215 diff -u -w -r1.214 -r1.215 --- imap_general.php 18 Sep 2005 10:25:48 -0000 1.214 +++ imap_general.php 26 Nov 2005 19:45:10 -0000 1.215 @@ -1079,7 +1079,7 @@ * @param $length */ function sqimap_append ($imap_stream, $sent_folder, $length) { - fputs ($imap_stream, sqimap_session_id() . ' APPEND ' . sqimap_encode_mailbox_name($sent_folder) . " (\\Seen) \{$length}\r\n"); + fputs ($imap_stream, sqimap_session_id() . ' APPEND ' . sqimap_encode_mailbox_name($sent_folder) . " (\\Seen) {".$length."}\r\n"); $tmp = fgets ($imap_stream, 1024); sqimap_append_checkresponse($tmp, $sent_folder); } |