Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2018-08-06 16:30:29 +0300
committerAleksander Machniak <alec@alec.pl>2018-08-06 16:31:02 +0300
commitd8a1f99db915de40d497d498bcb07b584a292de8 (patch)
tree387af503fbbdd37a5df781cfc5df052c4b797cfa /program
parenta411d8cb87414c4cd61b7653fdff2be8cfac580d (diff)
Fix so fallback from BINARY to BODY FETCH is used also on [PARSE] errors in dovecot 2.3 (#6383)
Diffstat (limited to 'program')
-rw-r--r--program/lib/Roundcube/rcube_imap_generic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_imap_generic.php b/program/lib/Roundcube/rcube_imap_generic.php
index 7fce2d02c..428f4f206 100644
--- a/program/lib/Roundcube/rcube_imap_generic.php
+++ b/program/lib/Roundcube/rcube_imap_generic.php
@@ -2817,7 +2817,7 @@ class rcube_imap_generic
}
// handle UNKNOWN-CTE response - RFC 3516, try again with standard BODY request
- if ($binary && !$found && preg_match('/^' . $key . ' NO \[UNKNOWN-CTE\]/i', $line)) {
+ if ($binary && !$found && preg_match('/^' . $key . ' NO \[(UNKNOWN-CTE|PARSE)\]/i', $line)) {
$binary = $initiated = false;
continue;
}