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