From a235f79df9b3e94e52e22008e9af858e094fd25f Mon Sep 17 00:00:00 2001 From: Bartlomiej Nogas <bart.nogas@gmail.com> Date: Fri, 24 Oct 2014 06:29:36 -0400 Subject: [PATCH] Fix of really fix UNKNOWN-CTE handling --- program/lib/Roundcube/rcube_imap_generic.php | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/program/lib/Roundcube/rcube_imap_generic.php b/program/lib/Roundcube/rcube_imap_generic.php index 63d4f06..d78b526 100644 --- a/program/lib/Roundcube/rcube_imap_generic.php +++ b/program/lib/Roundcube/rcube_imap_generic.php @@ -2569,7 +2569,6 @@ return false; } - $initiated = false; $binary = true; do { @@ -2732,7 +2731,7 @@ } } } - } while (!$this->startsWith($line, $key, true)); + } while (!$this->startsWith($line, $key, true) || !$initiated); if ($result !== false) { if ($file) { -- Gitblit v1.9.1