mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-23 06:18:03 +08:00
Fix opendkim header parser (#1232)
This commit is contained in:
parent
149cb62642
commit
d79fe8757e
1 changed files with 480 additions and 480 deletions
|
@ -376,7 +376,7 @@ class HeaderCollection extends \MailSo\Base\Collection
|
|||
|
||||
$sHeaderValue = \preg_replace('/[\r\n\t\s]+/', ' ', $sHeaderValue);
|
||||
|
||||
if (\preg_match('/dkim=[^;]+/i', $sHeaderValue, $aMatch) && !empty($aMatch[0]))
|
||||
if (\preg_match('/dkim=.+/i', $sHeaderValue, $aMatch) && !empty($aMatch[0]))
|
||||
{
|
||||
$sDkimLine = $aMatch[0];
|
||||
|
||||
|
|
Loading…
Reference in a new issue