Mixed line endings cause e-mail body length issues resulting in DKIM signature failure #201

Closed
Jaybus2 opened this Issue Feb 26, 2015 · 0 comments

Projects

None yet

2 participants

@Jaybus2
Jaybus2 commented Feb 26, 2015

Combination of incorrect and mixed CRLF and LF line endings in sent e-mail causes body length mismatches that result in DKIM signature failures. The below patch fixes this by replacing CR and LF characters in strings with the PHP 5 predefined constant PHP_EOL.

https://gist.github.com/Jaybus2/8e5957692a927e04f966#file-opendocman-1-3-2-patch-jaybus-1-diff

@stephenlawrence stephenlawrence added this to the 1.3.3 milestone Feb 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment