Changeset 075ee62a in github


Ignore:
Timestamp:
Feb 9, 2011 7:01:29 AM (2 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
b389252
Parents:
a97937a
Message:
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    r890eae6 r075ee62a  
    22=========================== 
    33 
     4- Add workaround for DBMail's bug http://www.dbmail.org/mantis/view.php?id=881 (#1487766) 
    45- Use IMAP's ID extension (RFC2971) to print more info into debug log 
    56- Security: add optional referer check to prevent CSRF in GET requests 
  • program/include/rcube_imap_generic.php

    r890eae6 r075ee62a  
    33143314            return '""'; 
    33153315        } 
     3316        // need quoted-string? find special chars: SP, CTL, (, ), {, %, *, ", \, ] 
     3317        // plus [ character as a workaround for DBMail's bug (#1487766) 
    33163318        else if ($force_quotes || 
    3317             preg_match('/([\x00-\x20\x28-\x29\x7B\x25\x2A\x22\x5C\x5D\x7F]+)/', $string) 
     3319            preg_match('/([\x00-\x20\x28-\x29\x7B\x25\x2A\x22\x5B\x5C\x5D\x7F]+)/', $string) 
    33183320        ) { 
    3319             // string: special chars: SP, CTL, (, ), {, %, *, ", \, ] 
    33203321            return '"' . strtr($string, array('"'=>'\\"', '\\' => '\\\\')) . '"'; 
    33213322        } 
Note: See TracChangeset for help on using the changeset viewer.