Skip to content

DKIM fejl fordi quotes indsættes i Content-Type charset #14

@Mortal

Description

@Mortal

Når følgende mail kommer gennem mailsystemet er der indsat quotes rundt om utf-8, og så fejler DKIM verifikation. Input:

Content-Type: multipart/alternative; boundary="JLHV59WCPRHGVBNKIJYKGSO9NATHV6"
Content-Transfer-Encoding: 8bit

--JLHV59WCPRHGVBNKIJYKGSO9NATHV6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

redacted
--JLHV59WCPRHGVBNKIJYKGSO9NATHV6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=utf-8

redacted
--JLHV59WCPRHGVBNKIJYKGSO9NATHV6--

Output:

Content-Type: multipart/alternative; boundary="JLHV59WCPRHGVBNKIJYKGSO9NATHV6"
Content-Transfer-Encoding: 8bit

--JLHV59WCPRHGVBNKIJYKGSO9NATHV6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

redacted
--JLHV59WCPRHGVBNKIJYKGSO9NATHV6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="utf-8"

redacted
--JLHV59WCPRHGVBNKIJYKGSO9NATHV6--

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