diff options
author | alecpl <alec@alec.pl> | 2011-12-02 09:58:03 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-12-02 09:58:03 +0000 |
commit | e237eec8468e99b65a9160a0a3f07529b92725e3 (patch) | |
tree | 7dc3356870ba062c595c2901ed1aac1e0d483252 /program/include/rcube_imap.php | |
parent | a691021389779487e93370ad4c4120cd0ee516b7 (diff) |
- Applied fixes from trunk up to r5526
Diffstat (limited to 'program/include/rcube_imap.php')
-rw-r--r-- | program/include/rcube_imap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php index a0a5f8189..1c5dd2e3f 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -4162,7 +4162,7 @@ class rcube_imap $input = preg_replace("/\?=\s+=\?/", '?==?', $input); // encoded-word regexp - $re = '/=\?([^?]+)\?([BbQq])\?([^?\n]*)\?=/'; + $re = '/=\?([^?]+)\?([BbQq])\?([^\n]*?)\?=/'; // Find all RFC2047's encoded words if (preg_match_all($re, $input, $matches, PREG_OFFSET_CAPTURE | PREG_SET_ORDER)) { |