diff options
author | alecpl <alec@alec.pl> | 2011-12-02 07:51:07 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-12-02 07:51:07 +0000 |
commit | 4f8be46f38223c4e45ad966e977197e40e2eeb9a (patch) | |
tree | a9bcdd80129ed07049d5854f7a5439f080dbf3fb /program/include | |
parent | a505dd2ebfa30174d9f02b5c8eef5e1f2339f229 (diff) |
- Improved handling of some malformed values encoded with quoted-printable (#1488232)
Diffstat (limited to 'program/include')
-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 50656f28c..c4175cbed 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -4164,7 +4164,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)) { |