Changeset 4a63f1ef in github


Ignore:
Timestamp:
Sep 7, 2009 3:53:01 AM (4 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
eb4b147
Parents:
e077870a
Message:
  • Fix roundcube hangs on empty inbox with bincimapd (#1486093)
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    r161c28d r4a63f1ef  
    22=========================== 
    33 
     4- Fix roundcube hangs on empty inbox with bincimapd (#1486093) 
    45- Fix wrong headers for IE on servers without $_SERVER['HTTPS'] (#1485926) 
    56- Force IE style headers for attachments in non-HTTPS session, 'use_https' option (#1485655) 
  • program/include/rcube_imap.php

    rae7f9b3 r4a63f1ef  
    22292229    $cache_count = count($cache_index); 
    22302230 
    2231     // console("Cache check: $msg_count !== ".count($cache_index)); 
    2232  
     2231    // empty mailbox 
     2232    if (!$msg_count) 
     2233      return $cache_count ? -2 : 1; 
     2234     
    22332235    if ($cache_count==$msg_count) { 
    22342236      if ($this->skip_deleted) { 
  • program/lib/imap.inc

    r161c28d r4a63f1ef  
    15111511                                $reslines = explode("\n", trim($m[1], '"')); 
    15121512                                // re-parse (see below) 
    1513                                 foreach ($reslines as $line) { 
    1514                                         if (ord($line[0])<=32) { 
    1515                                                 $lines[$ln] .= (empty($lines[$ln])?'':"\n").trim($line); 
     1513                                foreach ($reslines as $resln) { 
     1514                                        if (ord($resln[0])<=32) { 
     1515                                                $l[$ln] .= (empty($lines[$ln])?'':"\n").trim($resln); 
    15161516                                        } else { 
    1517                                                 $lines[++$ln] = trim($line); 
     1517                                                $lines[++$ln] = trim($resln); 
    15181518                                        } 
    15191519                                } 
     
    16691669                        } 
    16701670                } 
    1671         } while (strcmp($a[0], $key) != 0); 
     1671        } while (!iil_StartsWith($line, $key, true)); 
    16721672 
    16731673        return $result; 
Note: See TracChangeset for help on using the changeset viewer.