[autofix.ci] apply automated fixes
This commit is contained in:
parent
3f0a7e70ec
commit
f93c3021cf
@ -2112,7 +2112,7 @@ message HealthCheckResponse {
|
||||
}
|
||||
|
||||
// Validate URL field input for various monitors
|
||||
if (["http", "keyword", "json-query", "websocket-upgrade", "real-browser"].includes(this.monitor.type) && this.monitor.url) {
|
||||
if ([ "http", "keyword", "json-query", "websocket-upgrade", "real-browser" ].includes(this.monitor.type) && this.monitor.url) {
|
||||
try {
|
||||
const url = new URL(this.monitor.url);
|
||||
// Browser can encode *.hostname.com to %2A.hostname.com
|
||||
|
||||
Loading…
Reference in New Issue
Block a user