fix incomplete url scheme check

This commit is contained in:
laurenashleigh
2026-01-12 11:46:46 +00:00
parent 975f1ecd75
commit bd817c8590
@@ -245,7 +245,7 @@ export function RuleNotificationSection() {
try {
const url = new URL(value);
// Reject dangerous URL schemes
if (url.protocol === 'javascript:' || url.protocol === 'data:') {
if (url.protocol === 'javascript:' || url.protocol === 'data:' || url.protocol === 'vbscript:') {
notifyApp.error(
t(
'alerting.simplified.notification.runbook-url.invalid-protocol',