Skip to content

Conversation

@mdonoughe
Copy link

I don't really understand what this regex is supposed to be accomplishing. Apparently, the intention is that the validation is only supposed to allow domains that are both syntactically valid and have a valid ICANN TLD, but the TLD validation is not compatible with punycode TLDs because they have hyphens. This could probably be done better. I just copied the character class from the repeating part to the terminal part.

There doesn't need to be a backend change for this. I've been using punycode TLDs with CNAMEs through the API and by using $0.click() in the browser developer tools.

Copy link
Member

@peterthomassen peterthomassen left a comment

Choose a reason for hiding this comment

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

lgtm! thanks.

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