-
Notifications
You must be signed in to change notification settings - Fork 7
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
add missing field validation #14
Comments
For IPs I'd like to include an npm package, for example ip. This means that we have to use browserify for bundling npm modules. I can set this up later today... |
add validation for IPv4 fields. for now this is done with regex patterns. we may change to the ip npm package later.
add validation for file upload fields
if IPs should be registered automatically and the VPN files should be generated automatically the router name and user email are required.
what is the point of using the ip package if there is still a custom regex validation and the ip is validated against 255.255.255.255 > shouldn't this be checked against our berlin ipv4 ranges? |
thank you for this helpfull comment^^ |
use regex to validate ipv6 subnet and ipv4 subnet. change implementation for ipv4 directive to handele subnets and ipv6 addresses, too.
also show error message if any special characters are entered
The text was updated successfully, but these errors were encountered: