-
Notifications
You must be signed in to change notification settings - Fork 364
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
Ip validation #285
Labels
Comments
ghost
assigned zhoumeina
Jan 22, 2014
@YuXinHuo I know you provides IP validation for network. |
It is part of #37 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
IP validation fails if uder provide below IP for template, nfs pool.
101.10.10.10
It accepts 3 digits also
Ideal check would be:
!/^((2[0-4]\d|25[0-5]|[01]?\d\d?).){3}(2[0-4]\d|25[0-5]|[01]?\d\d?
If java script provide any other better check for ipv4/ipv6, that would be ever more better.
The text was updated successfully, but these errors were encountered: