-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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: allow numbers everywhere #1923
Comments
Example: validator.isFQDN('abc.efg.g1h.',
{ allow_trailing_dot: true, allow_underscores: true, allow_numeric_tld: true}); // false but should be true |
Thank you, It looks OK now when cloning, building & testing file validator.min.js from master branch. The example from @sysmat also works correctly. Is there also a possibility to npm install master branch directly from github (for example for angular project)? |
it looks fine. Is there any plan for release or roadmap |
The idea is that the next release will come out somewhere in the next two weeks |
thanks for your replies. closing this as "fixed" then |
this is down to issue #2123 |
Hello,
according to FQDN specs ("Only letters, numbers, or dashes can be used."), numbers can be a part of FQDN, not only in TLD (which we can now allow with
allow_numeric_tld: true
).Maybe there should be a more general option,
alow_numeric
.The text was updated successfully, but these errors were encountered: