Changeset 075ee62a in github
- Timestamp:
- Feb 9, 2011 7:01:29 AM (2 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- b389252
- Parents:
- a97937a
- Files:
-
- 2 edited
-
CHANGELOG (modified) (1 diff)
-
program/include/rcube_imap_generic.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
r890eae6 r075ee62a 2 2 =========================== 3 3 4 - Add workaround for DBMail's bug http://www.dbmail.org/mantis/view.php?id=881 (#1487766) 4 5 - Use IMAP's ID extension (RFC2971) to print more info into debug log 5 6 - Security: add optional referer check to prevent CSRF in GET requests -
program/include/rcube_imap_generic.php
r890eae6 r075ee62a 3314 3314 return '""'; 3315 3315 } 3316 // need quoted-string? find special chars: SP, CTL, (, ), {, %, *, ", \, ] 3317 // plus [ character as a workaround for DBMail's bug (#1487766) 3316 3318 else if ($force_quotes || 3317 preg_match('/([\x00-\x20\x28-\x29\x7B\x25\x2A\x22\x5 C\x5D\x7F]+)/', $string)3319 preg_match('/([\x00-\x20\x28-\x29\x7B\x25\x2A\x22\x5B\x5C\x5D\x7F]+)/', $string) 3318 3320 ) { 3319 // string: special chars: SP, CTL, (, ), {, %, *, ", \, ]3320 3321 return '"' . strtr($string, array('"'=>'\\"', '\\' => '\\\\')) . '"'; 3321 3322 }
Note: See TracChangeset
for help on using the changeset viewer.
