Symptoms
When adding a ServiceControl/Audit instance, the HostName field does not allow typing a dash (-), which is a perfectly valid character for a hostname, but does allow other invalid characters such as /[]|. The only way to get a dash into the field is to paste it in from the clipboard.
Typing - will nto work but typing any of /[]| does.
Who's affected
Verified that users of service control 6.7.6 and higher are affected.
Root cause
Invalid nesting of the controls in the XAML hierarchy.
Confirmed workarounds
Paste the value from the clipboard.
Expected behavior
The field should allow typing any character that is valid in a hostname, and disallow characters that are not.
Steps to reproduce
- Try to create new ServiceControl + Audit instances
- Attempt to type
- into the host name field.