Skip to content

script: allow hyphens in deputy email domains - #2283

Merged
murchandamus merged 1 commit into
bitcoin:masterfrom
kriss39:fix/deputies-email-domain-validation
Sep 11, 2026
Merged

script: allow hyphens in deputy email domains#2283
murchandamus merged 1 commit into
bitcoin:masterfrom
kriss39:fix/deputies-email-domain-validation

Conversation

@kriss39

@kriss39 kriss39 commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

BIP 3 specifies that the Deputies header uses the same format as the Authors header, but buildtable.pl currently validates them with slightly different domain patterns.

Authors accepts hyphens in domain names, while the generic email-field check used by Deputies and legacy Editor fields does not. As a result, a valid address such as alice@bitcoin-dev.org is accepted for an author but rejected for a deputy.

This change allows hyphens in the generic email domain matcher as well, keeping the validation consistent with the Authors format.

@murchandamus murchandamus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK afc982a. Good catch, thanks.

@murchandamus
murchandamus merged commit 2974f9f into bitcoin:master Sep 11, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants