URL warning in http notification form does not update after allowing URL.
Description
When you create an http notification and you add an URL, which is not allowed yet, you will see the following warning:
Once you allow the URL in the related modal, the warning stays there (and the form submit button stays disabled) and only disappears after allowing the URL again.
This issue does not seem to occur in the current master version.
Your Environment
- Graylog Version: 6.0 rc2
Probably needs only a backport!
Not a blocker, since there is a workaround.
I couldn't reproduce this either in 6.0.1 or in 6.0.rc.
On test-dev-ng with 6.0.1 cloud I can reproduce it. Locally with 6.0.1 cloud not.
On test-dev-ng where I can reproduce it, the call is sending the new whitelist correctly, but the check call returns the url as not whitelisted.
I also could only reproduce it on test-dev-ng.
The backend code for URL white-listing has not changed since 5.2. and API responses look fine.
Custom HTTP Notification was recently added and is therefore suspect. But the problem also reproduces in the legacy HTTP Notification, which has not changed as recently.
Running out of ideas. Maybe we can table this until we see a repro outside of test-dev-ng?