defguard
defguard copied to clipboard
Special characters for device are validated during edit, but not on creation
Describe the bug Validation for special characters on UI is done only on device creation, but not on edit tab. By the way defguard works with devices with special characters. My use case for this is to have ip in brackets for sever I can know what's ip is that.
To Reproduce Steps to reproduce the behavior:
- Login to defguard, create new location if you don't have one (otherwise it's not possible to create device)
- Create new device with name "ovh(1.1.1.1)"
- Try to change name for this device
- You are unable to save it with name "ovh(1.1.1.1"
Expected behavior Depends on resolution of this bug. Either I can save confugration either special chars are not allowed global wide. Version information
- Defguard Core version: v0.9.1 (latest devevlop)
- Doesn't matter
- Operating system and version running the gateway: Ubuntu 22.04 docker compsoe
- Firefox 99
Screenshots
Additional context My guess is better to have underscores, square and round brackets enabled for device name, it's very useful