Skip to content

Commit

Permalink
Fix so fallback from BINARY to BODY FETCH is used also on [PARSE] err…
Browse files Browse the repository at this point in the history
…ors in dovecot 2.3 (#6383)
  • Loading branch information
alecpl committed Aug 6, 2018
1 parent a411d8c commit d8a1f99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ CHANGELOG Roundcube Webmail
===========================

- 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
-------------
Expand Down
2 changes: 1 addition & 1 deletion program/lib/Roundcube/rcube_imap_generic.php
Original file line number Diff line number Diff line change
Expand Up @@ -2817,7 +2817,7 @@ public function handlePartBody($mailbox, $id, $is_uid=false, $part='', $encoding
}

// 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;
}
Expand Down

0 comments on commit d8a1f99

Please sign in to comment.