plugins
plugins copied to clipboard
Error message of wireguard endpoint name is misleading
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:
- Go to 'VPN - Wireguard'
- Create an endpoint
- Use a space in the name
- 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