-
-
Notifications
You must be signed in to change notification settings - Fork 438
Closed
Labels
automationAutomation related issueAutomation related issuebugUndesired behaviourUndesired behaviourresolvedA fixed issueA fixed issue
Milestone
Description
Describe the bug
If a network range provided to automation contains spaces at the beginning or end, then it is incorrectly reported as failing when it should be trimmed.
To Reproduce
Steps to reproduce the behavior:
- Go to 'Automation'
- Click on 'Networks'
- Edit a network
- Set the range to something such as
" 10.1.1.1"or"10.11.12.0/24, 172.172.0.*" - See the error
Expected behavior
In the above example, " 10.1.1.1" should become "10.1.1.1" and "10.11.12.0/24, 172.172.0.*" should be treated as "10.11.12.0/24,172.172.0.*". The code actually splits the ranges by commas, so it would be the individual entry that is trimmed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
automationAutomation related issueAutomation related issuebugUndesired behaviourUndesired behaviourresolvedA fixed issueA fixed issue