diff options
Diffstat (limited to 'program/include/rcube_imap.inc')
-rw-r--r-- | program/include/rcube_imap.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_imap.inc b/program/include/rcube_imap.inc index 7ac51fcc5..f8e9e0a0a 100644 --- a/program/include/rcube_imap.inc +++ b/program/include/rcube_imap.inc @@ -2459,7 +2459,7 @@ class rcube_imap foreach ($a as $key => $val) { - $val = str_replace("\"<", "\" <", $val); + $val = preg_replace("/([\"\w])</", "$1 <", $val); $sub_a = $this->_explode_quoted_string(' ', $this->decode_header($val)); $result[$key]['name'] = ''; |