[Freeipa-devel] [PATCH] 0006 Remove check for alphabetic only characters from domain name validation

Petr Spacek pspacek at redhat.com
Mon Feb 18 11:27:35 UTC 2013


On 15.2.2013 15:22, Ana Krivokapic wrote:
> Hello,
>
> The .isalpha() check in validate_domain_name() was too strict,
> causing some commands like ipa dnsrecord-add to fail.
>
> https://fedorahosted.org/freeipa/ticket/3385

I would add --force option rather than removing whole check, if it's possible.

Would it be possible to mention RFC in the error message? Something like 
_('top level domain label must be alphabetic (RFC 1123 section 2.1)')
?

IMHO it is handy, because it educates users.

-- 
Petr^2 Spacek




More information about the Freeipa-devel mailing list