Skip to content

fix(config): reject malformed domain labels - #61

Merged
ralyodio merged 1 commit into
moshcoder:masterfrom
qwenbona:fix/config-domain-labels
Jul 31, 2026
Merged

fix(config): reject malformed domain labels#61
ralyodio merged 1 commit into
moshcoder:masterfrom
qwenbona:fix/config-domain-labels

Conversation

@qwenbona

Copy link
Copy Markdown
Contributor

safeDomain accepted domains starting/ending with a dot and labels starting/ending with a hyphen, which are invalid per RFC 1035. Reject both forms.

Fixes #51

safeDomain accepted domains starting/ending with a dot and labels
starting/ending with a hyphen, which are invalid per RFC 1035 and can
cause unexpected URL construction. Reject both forms.

Fixes moshcoder#51
@ralyodio
ralyodio merged commit d17e930 into moshcoder:master Jul 31, 2026
2 checks passed
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.

2 participants