mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Allow one letter net/hostgroups names
Changed regex validating net/hostgroup names to allow single letter names. Unit-tests added. https://fedorahosted.org/freeipa/ticket/2671
This commit is contained in:
committed by
Martin Kosek
parent
85185a89db
commit
343aba2486
@@ -50,7 +50,7 @@ EXAMPLES:
|
||||
""")
|
||||
|
||||
|
||||
NETGROUP_PATTERN='^[a-zA-Z0-9_.][a-zA-Z0-9_.-]+$'
|
||||
NETGROUP_PATTERN='^[a-zA-Z0-9_.][a-zA-Z0-9_.-]*$'
|
||||
NETGROUP_PATTERN_ERRMSG='may only include letters, numbers, _, -, and .'
|
||||
|
||||
# according to most common use cases the netgroup pattern should fit
|
||||
|
||||
Reference in New Issue
Block a user