Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isFQDN rejecting domains with more than two hypens #498

Closed
krishnanms opened this issue Feb 16, 2016 · 2 comments
Closed

isFQDN rejecting domains with more than two hypens #498

krishnanms opened this issue Feb 16, 2016 · 2 comments

Comments

@krishnanms
Copy link

validator.isFQDN('xn--6cdcklga3agac0adveeerahel6btn3c.xn'); true

validator.isFQDN('xn------6cdcklga3agac0adveeerahel6btn3c.xn--p1ai'); false

The domain xn------6cdcklga3agac0adveeerahel6btn3c.xn--p1ai is in the alexa 1m domains list.

@chriso
Copy link
Collaborator

chriso commented Feb 16, 2016

This was fixed in #466 (version 4.4.1):

> validator.isFQDN('xn------6cdcklga3agac0adveeerahel6btn3c.xn--p1ai');
true

@chriso chriso closed this as completed Feb 16, 2016
@krishnanms
Copy link
Author

Thanks for the update.

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

No branches or pull requests

2 participants