From 568ba395b6ca0a5779600a435a9906ae88de6d5f Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Tue, 13 Mar 2007 21:02:03 -0400
Subject: [PATCH] Applied little patch that closes #1484247

---
 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 7ac51fc..f8e9e0a 100644
--- a/program/include/rcube_imap.inc
+++ b/program/include/rcube_imap.inc
@@ -2459,7 +2459,7 @@
     
     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'] = '';
 

--
Gitblit v1.9.1