Skip to content

Reject invalid and overlong domain names#458

Open
uwezkhan wants to merge 1 commit intopython-validators:masterfrom
uwezkhan:fix/domain-validation-bypass
Open

Reject invalid and overlong domain names#458
uwezkhan wants to merge 1 commit intopython-validators:masterfrom
uwezkhan:fix/domain-validation-bypass

Conversation

@uwezkhan
Copy link
Copy Markdown

Fixes a domain validation bypass where invalid TLDs containing _ or -, and domains longer than the DNS maximum length, were accepted by domain() and indirectly by hostname().

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.

1 participant