Skip to content

Fix canonicalization defaults ('Unknown body canonicalization algorithm: '), fixes #10#17

Open
geek-merlin wants to merge 1 commit intoPHPMailer:devfrom
geek-merlin:10-fix-canonicalization-defaults
Open

Fix canonicalization defaults ('Unknown body canonicalization algorithm: '), fixes #10#17
geek-merlin wants to merge 1 commit intoPHPMailer:devfrom
geek-merlin:10-fix-canonicalization-defaults

Conversation

@geek-merlin
Copy link
Copy Markdown

Canonicalization algorithm "simple" must be interpreted as "simple/simple".
According to the RFC:

rfc4871-dkimbase.html#dkim-sig-hdr
rfc6376#section-3.5
..If only one algorithm is named, that algorithm is used for the header and "simple" is used for the body. For example, "c=relaxed" is treated the same as "c=relaxed/simple"...

I had a validaton error with a rapidmail newsletter due to this.

This trivial PR fixes the issue for me.

@geek-merlin
Copy link
Copy Markdown
Author

OK, the dev branch seems broken, here's for convenience the patch file for 0.3.
fix-canonicalization-defaults-for-phpmailer-dkimvalidator-0-3.patch.txt

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.

1 participant