nmcontrol icon indicating copy to clipboard operation
nmcontrol copied to clipboard

Format Validation

Open JeremyRand opened this issue 11 years ago • 1 comments

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 avatar Sep 17 '14 09:09 JeremyRand

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

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

JeremyRand avatar May 23 '15 03:05 JeremyRand