diff --git a/src/Validator.php b/src/Validator.php index cbe4cc4..554d405 100644 --- a/src/Validator.php +++ b/src/Validator.php @@ -236,7 +236,7 @@ public function validate(): ValidationResults $validationResult->addPass("Compatible DKIM version: ${dkimTags['v']}" . '.'); //Validate canonicalization algorithms for header and body - [$headerCA, $bodyCA] = explode('/', $dkimTags['c'], 2); + [$headerCA, $bodyCA] = explode('/', $dkimTags['c'], 2) + [1 => 'simple']; if ( $headerCA !== self::CANONICALIZATION_HEADERS_RELAXED && $headerCA !== self::CANONICALIZATION_HEADERS_SIMPLE