- Fix searching on IMAP servers without CHARSET specifier support (#1488271)

pull/1/head
alecpl 13 years ago
parent bab0433a27
commit c886de7ff4

@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail CHANGELOG Roundcube Webmail
=========================== ===========================
- Fix searching on IMAP servers without CHARSET specifier support (#1488271)
- Fix expanding folders during drag&drop (#1488260) - Fix expanding folders during drag&drop (#1488260)
- Deprecate $DB, $USER, $IMAP global variables, Use $RCMAIL instead - Deprecate $DB, $USER, $IMAP global variables, Use $RCMAIL instead
- Add option to set default font for HTML message (#1484137) - Add option to set default font for HTML message (#1484137)

@ -1470,7 +1470,7 @@ class rcube_imap
// Error, try with US-ASCII (some servers may support only US-ASCII) // Error, try with US-ASCII (some servers may support only US-ASCII)
if ($messages->isError() && $charset && $charset != 'US-ASCII') if ($messages->isError() && $charset && $charset != 'US-ASCII')
$messages = $this->conn->search($mailbox, $messages = $this->conn->search($mailbox,
'CHARSET US-ASCII ' . $this->convert_criteria($criteria, $charset), true); $this->convert_criteria($criteria, $charset), true);
$this->search_sorted = false; $this->search_sorted = false;

Loading…
Cancel
Save