Remove newlines from mail headers (#1484031)

release-0.6
thomascube 18 years ago
parent 086377c7e6
commit d04d202234

@ -2377,7 +2377,8 @@ class rcube_imap
function _parse_address_list($str)
{
$a = $this->_explode_quoted_string(',', $str);
// remove any newlines and carriage returns before
$a = $this->_explode_quoted_string(',', preg_replace( "/[\r\n]/", " ", $str));
$result = array();
foreach ($a as $key => $val)

Loading…
Cancel
Save