Skip to content
New issue

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

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

Already on GitHub? # to your account

Add TLD validation based on IANA TLD list #27

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vincentdh
Copy link

This pull request solves the issue #26 by adding a 3rd argument to the validate method.

The new argument is optional and has a default value of false so it does not bring any breaking changes.

I'm not convinced that this is the best way to do it, but it's quick and does not require any network request.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant