New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment