Changeset 7e15422 in github


Ignore:
Timestamp:
Aug 27, 2009 5:22:34 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:
4f7aa85f
Parents:
6c2d7ed
Message:
  • Fix Date sorting problem with Courier IMAP server (#1486065)
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    re0896df r7e15422  
    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) 
  • program/lib/imap.inc

    r78c7947 r7e15422  
    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.