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

Validation for domain should be "fqdn" instead of "hostname" #35

Open
trading-peter opened this issue Oct 13, 2023 · 0 comments
Open

Validation for domain should be "fqdn" instead of "hostname" #35

trading-peter opened this issue Oct 13, 2023 · 0 comments

Comments

@trading-peter
Copy link

My ddns domain has a single letter component. Like this for example:
myhost.d.example.com

The ".d." fails the validation tag "hostname" of github.com/go-playground/validator.
Afaik there is no reason that the domain should be validated as a hostname. It should rather be the fqdn validator tag.

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

1 participant