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

Format Validation #45

Open
JeremyRand opened this issue Sep 17, 2014 · 1 comment
Open

Format Validation #45

JeremyRand opened this issue Sep 17, 2014 · 1 comment

Comments

@JeremyRand
Copy link
Member

JeremyRand commented Sep 17, 2014

Right now you can put spec-invalid data in a name's value and NMControl's "dns" plugin will happily return the invalid data. The dns plugin should actually validate data according to the namespace spec before returning it to user applications.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/4426394-format-validation?utm_campaign=plugin&utm_content=tracker%2F435873&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F435873&utm_medium=issues&utm_source=github).
@JeremyRand
Copy link
Member Author

This is the "right" way to validate IP addresses, once we upgrade to Python3.

https://docs.python.org/3/library/ipaddress.html

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