mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix dns zonemgr validation regression
https://fedorahosted.org/freeipa/ticket/4663 Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
parent
d6b28f29ec
commit
e971fad5c1
@ -277,6 +277,7 @@ def validate_zonemgr(zonemgr):
|
|||||||
|
|
||||||
def validate_zonemgr_str(zonemgr):
|
def validate_zonemgr_str(zonemgr):
|
||||||
zonemgr = normalize_zonemgr(zonemgr)
|
zonemgr = normalize_zonemgr(zonemgr)
|
||||||
|
zonemgr = DNSName(zonemgr)
|
||||||
return validate_zonemgr(zonemgr)
|
return validate_zonemgr(zonemgr)
|
||||||
|
|
||||||
def validate_hostname(hostname, check_fqdn=True, allow_underscore=False, allow_slash=False):
|
def validate_hostname(hostname, check_fqdn=True, allow_underscore=False, allow_slash=False):
|
||||||
|
Loading…
Reference in New Issue
Block a user