Skip to content

Copied DKIM header values contain invalid MIME quoted-printable soft breaks #23

Closed

Description

@bbottema

With setCopyHeaderFields(true), a long subject is encoded using MIME QPEncoderStream. It inserts '=CRLF' soft breaks inside the DKIM z tag, creating invalid header/tag syntax. DKIM quoted-printable also requires copied CR/LF and controls to be encoded, not emitted as MIME line endings. Expected: DKIM-specific octet escaping and legal folding whitespace, without MIME soft breaks or partial =XX tokens. Preserve short existing encodings and the default z=false setting. A 180-character subject reproduces the failure.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions