Skip to content

Conversation

blackstormlab
Copy link

(Validator.php): if ((int) $dkimTags['x'] < (int) $dkimTags['t']) {

MUST BE:
if ( isset($dkimTags['t']) && ((int) $dkimTags['x'] < (int) $dkimTags['t']) ) {
The value of the "x=" tag MUST be greater than the value of the "t=" tag if both are present.

bostjan and others added 21 commits August 13, 2015 00:15
…me being, add license and disclamer, suggest original package.
…ins about it.

As soon as original package updates this dependency to recent release (2.x+), this should be reverted.
Reason:
If email content file is pulled directly from Maildir on Linux, it has
body newlines separated by \n rather than \r\n which is what mail systems
use internally (unverified claim!). This broke validation.
Merging original licensing info, as specified by original author:
angrychimp#5
Fix DKIM signatures ending with a semicolon
The value of the "x=" tag MUST be greater than the value of the "t=" tag if both are present.
@blackstormlab
Copy link
Author

blackstormlab commented Apr 12, 2024

this is my first PR i don't know if i did it right.

all that needs fixing is that one line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants