mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 08:27:03 +03: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);
|
$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];
|
$sDkimLine = $aMatch[0];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue