Fix so fallback from BINARY to BODY FETCH is used also on [PARSE] errors in dovecot 2.3 (#6383)

pull/6465/head
Aleksander Machniak 6 years ago
parent a411d8cb87
commit d8a1f99db9

@ -2,6 +2,7 @@ CHANGELOG Roundcube Webmail
=========================== ===========================
- Fix PHP warnings on dummy QUOTA responses in Courier-IMAP 4.17.1 (#6374) - Fix PHP warnings on dummy QUOTA responses in Courier-IMAP 4.17.1 (#6374)
- Fix so fallback from BINARY to BODY FETCH is used also on [PARSE] errors in dovecot 2.3 (#6383)
RELEASE 1.3.7 RELEASE 1.3.7
------------- -------------

@ -2817,7 +2817,7 @@ class rcube_imap_generic
} }
// handle UNKNOWN-CTE response - RFC 3516, try again with standard BODY request // 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; $binary = $initiated = false;
continue; continue;
} }

Loading…
Cancel
Save