Skip to content

Conversation

@Giulianos
Copy link
Contributor

Fixes FQDN validation to allow numerical subdomains/hosts #602

Make sure that you've checked the boxes below before you submit PR:

  • Tests exist or have been written that cover this particular change.

Change Details:

  • Add regex based on hostname RFC1123 adding check for existence of TLD.
  • Update isFQDN removing checks already done by regex

@go-playground/admins

@deankarn deankarn merged commit 059510c into go-playground:master May 21, 2020
@Giulianos Giulianos deleted the bugfix/fqdn branch May 21, 2020 13:41
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