-
-
Notifications
You must be signed in to change notification settings - Fork 159
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Environment
Web Interface / All environments
Bug Description
The application does not sanitize the Target URL/Host input field in the "Create New Service" modal. When a user accidentally includes leading or trailing whitespaces, the service is saved with those spaces, causing the monitoring to fail or remain in an error state. The app should automatically trim whitespaces from the input.
Steps to Reproduce
- Click the + NewService button to open the "Create New Service" dialog.
- Fill in the Service Name (e.g., "Test Service").
- In the Target URL/Host field, enter an address with an accidental space, for example:
google.comor192.168.1.1 - Click Create to save the service.
- Observe that the monitor fails to function properly because the space is treated as part of the hostname/IP.
Expected Behavior
The application should perform a .trim() on the "Target URL/Host" input before saving. Leading or trailing spaces should be automatically removed so that the monitoring works regardless of accidental keyboard strokes.
Screenshots or Videos
No response
Logs
Checklist
- I have searched existing issues to avoid creating duplicates.
- I have provided sufficient information to reproduce the issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working