mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Use proper string validation routine.
Resolves 430709
This commit is contained in:
@@ -68,7 +68,7 @@ def main():
|
|||||||
cont = True
|
cont = True
|
||||||
else:
|
else:
|
||||||
cn = args[1]
|
cn = args[1]
|
||||||
if (ipavalidate.ipastsring(cn, notEmpty=True)):
|
if (ipavalidate.String(cn, notEmpty=True)):
|
||||||
print "Please enter a value"
|
print "Please enter a value"
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user