Skip to content

Fix issue where b= appearing in a copied header breaks validation.#78

Open
wttw wants to merge 1 commit into
emersion:masterfrom
wttw:bequals
Open

Fix issue where b= appearing in a copied header breaks validation.#78
wttw wants to merge 1 commit into
emersion:masterfrom
wttw:bequals

Conversation

@wttw

@wttw wttw commented Sep 19, 2025

Copy link
Copy Markdown

Minor change to regex used to clear the b=field during validation to avoid false matches in other fields.

Fixes #77

@emersion

Copy link
Copy Markdown
Owner

Could we replace the regexp with a loop over characters? That would be much more robust.

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.

DKIM doesn't validate signatures with i18n characters in some cases

2 participants