Cover more range of long field headers

This commit is contained in:
Hadi Nategh 2017-06-12 11:04:10 +02:00
parent 10934f9cc1
commit 41caaafec9

View File

@ -7031,7 +7031,7 @@ class Mail
$needsReplacement = false;
foreach((array)$value as &$val)
{
if (strlen($val) > 998)
if (strlen($val)+ strlen($header) > 900)
{
$needsReplacement = $needsFix = true;
}