alecpl
2008-10-09 7ae46f2b1dd87a0bdc046e1a0d12fbf3ca141c14
- fixed iil_C_Sort() to support very long and/or divided responses (#1485283)


2 files modified
7 ■■■■■ changed files
CHANGELOG 4 ●●●● patch | view | raw | blame | history
program/lib/imap.inc 3 ●●●●● patch | view | raw | blame | history
CHANGELOG
@@ -1,6 +1,10 @@
CHANGELOG RoundCube Webmail
---------------------------
2008/10/09 (alec)
----------
- fixed iil_C_Sort() to support very long and/or divided responses (#1485283)
2008/10/08 (alec)
----------
- Fix imap searching on ISMail server (#1485466)
program/lib/imap.inc
@@ -67,6 +67,7 @@
        - remove 'undisclosed-recipients' string from 'To' header
        - iil_C_HandlePartBody(): added 6th argument and fixed endless loop
        - added iil_PutLineC() 
        - fixed iil_C_Sort() to support very long and/or divided responses
********************************************************/
@@ -913,6 +914,8 @@
        $line = chop(iil_ReadLine($fp, 1024));
        if (iil_StartsWith($line, '* SORT')) {
            $data .= ($data?' ':'') . substr($line, 7);
            } else if (preg_match('/^[0-9 ]+$/', $line)) {
            $data .= $line;
            }
    } while ($line[0]!='s');