DKIMValidator icon indicating copy to clipboard operation
DKIMValidator copied to clipboard

Simple header validation fails with leading whitespace

Open kynx opened this issue 3 years ago • 0 comments

If the header value contains leading whitespace:

Subject:    Subject Subject

the header canonicalization strips it:

Subject: Subject Subject

This leads to an (incorrect) failed validation. According to https://www.rfc-editor.org/rfc/rfc6376#section-3.4.5 the leading whitespace should be preserved.

kynx avatar Sep 11 '22 12:09 kynx