Skip to content

Management view for adding instances rules for allowed characters in hostname are incorrect #5190

@DavidBoike

Description

@DavidBoike

Describe the bug

Description

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.

Expected behavior

The field should allow typing any character that is valid in a hostname, and disallow characters that are not.

Actual behavior

Typing - will nto work but typing any of /[]| does.

Versions

Tested in 6.7.6.

Steps to reproduce

  1. Try to create new ServiceControl + Audit instances
  2. Attempt to type - into the host name field.

Relevant log output

Additional Information

Workarounds

Paste the value from the clipboard.

Possible solutions

Additional information

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions