Changeset 2879 in subversion


Ignore:
Timestamp:
Aug 27, 2009 5:22:34 AM (4 years ago)
Author:
alec
Message:
  • Fix Date sorting problem with Courier IMAP server (#1486065)
Location:
trunk/roundcubemail
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/CHANGELOG

    r2876 r2879  
    22=========================== 
    33 
     4- Fix date sorting problem with Courier IMAP server (#1486065) 
    45- Unselect pressed buttons on mouse up (#1485987) 
    56- Don't set php_value error_log in .htaccess but mention in INSTALL (#1485924) 
  • trunk/roundcubemail/program/lib/imap.inc

    r2826 r2879  
    989989 
    990990                        if ($mode == 1) { 
    991                                 if (preg_match('/BODY\[HEADER\.FIELDS \((DATE|FROM|REPLY-TO|SENDER|TO|SUBJECT)\)\] (.*)/', $line, $matches)) { 
     991                                if (preg_match('/BODY\[HEADER\.FIELDS \("?(DATE|FROM|REPLY-TO|SENDER|TO|SUBJECT)"?\)\] (.*)/', $line, $matches)) { 
    992992                                        $value = preg_replace(array('/^"*[a-z]+:/i', '/\s+$/sm'), array('', ''), $matches[2]); 
    993993                                        $value = trim($value); 
Note: See TracChangeset for help on using the changeset viewer.