plugins icon indicating copy to clipboard operation
plugins copied to clipboard

Error message of wireguard endpoint name is misleading

Open adevoss opened this issue 3 years ago • 0 comments

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

  • [x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
  • [x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug

When creating a wireguard endpoint, this message was shown after I used a space in the name: 'please specify a valid address (IPv4/IPv6) or hostname'

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'VPN - Wireguard'
  2. Create an endpoint
  3. Use a space in the name
  4. Click 'Save'

Expected behavior

Error message like 'No spaces allowed' or 'Use only alfanumeric characters' or similar.

Environment Software version used: OPNsense 22.1.10-amd64 updated to 22.7_4-amd64

adevoss avatar Jul 28 '22 10:07 adevoss