Skip to content

Simple header validation fails with leading whitespace #14

@kynx

Description

@kynx

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions