Turns out it's useful to have a separate error message for this anyway,
so I just did:
if '..' in name or name.startswith('.') or name.endswith('.'):
result.add(HOSTNAME_BADDOTS)
** Changed in: ubiquity (Ubuntu)
Assignee: (unassigned) => Colin Watson (kamion)
Status: Confirmed => Fix Committed
--
hostname permitted containing consecutive dots
https://bugs.launchpad.net/bugs/105890
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs