forked from extern/egroupware
ignore whitespace before and after equal sign in dkim tags
This commit is contained in:
parent
15ecaec4f4
commit
685cc0ab26
@ -362,7 +362,7 @@ class ischedule_server extends groupdav
|
||||
{
|
||||
// parse dkim signature, after unfolding it
|
||||
if (!isset($headers['dkim-signature']) ||
|
||||
!preg_match_all('/[\t\s]*([a-z]+)=([^;]+);?/i',
|
||||
!preg_match_all('/[\t\s]*([a-z]+)\s*=\s*([^;]+);?/i',
|
||||
preg_replace("|\r\n\s+|", "", $headers['dkim-signature']), $matches))
|
||||
{
|
||||
$error = "Can't parse DKIM signature";
|
||||
|
Loading…
Reference in New Issue
Block a user