Fix incorrect handling of multi-line Header

In my setup, initial version of RemoveHeaderFromHeaders does not remove properly multi-line Headers (only the first line is removed). As a consequence, when using php mail() option for outgoing e-mail, strange things happen when the "To" field contains more than 3 recipients.
This commit is contained in:
cpt-lamar 2017-01-22 22:12:11 +01:00 committed by GitHub
parent 075293204e
commit 0912ad75ed

View file

@ -788,7 +788,7 @@ END;
{
if (0 < \strlen($sLine))
{
$sFirst = $sLine{1};
$sFirst = \substr($sLine,0,1);
if (' ' === $sFirst || "\t" === $sFirst)
{
if (!$bSkip)