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>2017-11-20 20:05:07 +0300
committerAleksander Machniak <alec@alec.pl>2017-11-20 20:06:11 +0300
commit1765e855c9cbc06e58bab7930ca8a6d57395d89b (patch)
tree27f6204ce8ef78c7610cd51e63d972c93b27f7f4 /program
parent471f6a81f3c0b41dc9d1f1e7b0b09c0f5ff32e2c (diff)
Fix untagged COPYUID responses handling - again (#5982)
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 685e694b9..8f7cd67e9 100644
--- a/program/lib/Roundcube/rcube_imap_generic.php
+++ b/program/lib/Roundcube/rcube_imap_generic.php
@@ -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]);
}