summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_message.php
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-04-08 19:11:12 +0200
committerThomas Bruederli <thomas@roundcube.net>2014-04-08 19:11:12 +0200
commit188247894f6aff3a11f68bbdf94626b8bf58b852 (patch)
treeb6997429e9b4d1bdf787dbfdf3e29cdbc72cf5db /program/lib/Roundcube/rcube_message.php
parent05e3d11554f751ed6a614abe343141aa1e6ea6da (diff)
Make multi-folder message identifiers work with folders containing commas
Diffstat (limited to 'program/lib/Roundcube/rcube_message.php')
-rw-r--r--program/lib/Roundcube/rcube_message.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_message.php b/program/lib/Roundcube/rcube_message.php
index edfd339d8..a648ae722 100644
--- a/program/lib/Roundcube/rcube_message.php
+++ b/program/lib/Roundcube/rcube_message.php
@@ -75,7 +75,7 @@ class rcube_message
function __construct($uid, $folder = null)
{
// decode combined UID-folder identifier
- if (preg_match('/^\d+-[^,]+$/', $uid)) {
+ if (preg_match('/^\d+-.+/', $uid)) {
list($uid, $folder) = explode('-', $uid, 2);
}