Fix untagged COPYUID responses handling - again (#5982)

pull/6072/head
Aleksander Machniak 7 years ago
parent 471f6a81f3
commit 1765e855c9

@ -4,6 +4,7 @@ CHANGELOG Roundcube Webmail
- Fix a couple of warnings on PHP 7.2
- Fix broken long filenames when using imap4d server - workaround server bug (#6048)
- Fix so temp_dir misconfiguration prints an error to the log (#6045)
- Fix untagged COPYUID responses handling - again (#5982)
RELEASE 1.3.3
-------------

@ -3733,7 +3733,7 @@ class rcube_imap_generic
}
// parse untagged response for [COPYUID 1204196876 3456:3457 123:124] (RFC6851)
if ($line && $command == 'UID MOVE' && substr_compare($line, '* OK', 0, 4, true)) {
if ($line && $command == 'UID MOVE') {
if (preg_match("/^\* OK \[COPYUID [0-9]+ ([0-9,:]+) ([0-9,:]+)\]/i", $line, $m)) {
$this->data['COPYUID'] = array($m[1], $m[2]);
}

Loading…
Cancel
Save