a body location part (e.g. Sun Java System Messaging Server). Thanks
John Callahan (#
1808382).
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12758
7612ce4b-ef26-0410-bec9-
ea0150e637f0
"not defined" error on session timeouts.
- Allow custom session handlers to work correctly (and be defined at the
application level with SquirrelMail).
+ - Fix off-by-one in bodystructure parsing triggered by servers sending
+ a body location part (e.g. Sun Java System Messaging Server). Thanks
+ John Callahan (#1808382).
Version 1.5.1 (branched on 2006-02-12)
--------------------------------------
* @return integer
*/
function parseParenthesis($read, $i) {
- for (; $read{$i} != ')'; ++$i) {
+ for ($i++; $read{$i} != ')'; ++$i) {
switch ($read{$i}) {
case '"': $this->parseQuote($read, $i); break;
case '{': $this->parseLiteral($read, $i); break;