diff options
Diffstat (limited to 'program/lib/Roundcube')
-rw-r--r-- | program/lib/Roundcube/rcube_imap.php | 4 | ||||
-rw-r--r-- | program/lib/Roundcube/rcube_message.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/program/lib/Roundcube/rcube_imap.php b/program/lib/Roundcube/rcube_imap.php index 41430db01..23cacd4d2 100644 --- a/program/lib/Roundcube/rcube_imap.php +++ b/program/lib/Roundcube/rcube_imap.php @@ -1709,7 +1709,7 @@ class rcube_imap extends rcube_storage // decode combined UID-folder identifier if (preg_match('/^\d+-[^,]+$/', $uid)) { - list($uid, $folder) = explode('-', $uid); + list($uid, $folder) = explode('-', $uid, 2); } // get cached headers @@ -1745,7 +1745,7 @@ class rcube_imap extends rcube_storage // decode combined UID-folder identifier if (preg_match('/^\d+-[^,]+$/', $uid)) { - list($uid, $folder) = explode('-', $uid); + list($uid, $folder) = explode('-', $uid, 2); } // Check internal cache diff --git a/program/lib/Roundcube/rcube_message.php b/program/lib/Roundcube/rcube_message.php index ad94005ac..edfd339d8 100644 --- a/program/lib/Roundcube/rcube_message.php +++ b/program/lib/Roundcube/rcube_message.php @@ -76,7 +76,7 @@ class rcube_message { // decode combined UID-folder identifier if (preg_match('/^\d+-[^,]+$/', $uid)) { - list($uid, $folder) = explode('-', $uid); + list($uid, $folder) = explode('-', $uid, 2); } $this->uid = $uid; |