fix: add URL validation to webhook endpoints (#26593)
Validates webhook URLs on create and update: - HTTPS required (HTTP allowed for self-hosted and E2E) - Blocks private IP ranges and localhost - Blocks cloud metadata endpoints Existing webhooks are preserved: validation only applies when URL is created or changed. Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
c57b517555
commit
cb36fc201f
17 files changed
+386
-75
No files matched your search
@@ -2856,6 +2856,7 @@ __metadata:
|
||||
i18next: "npm:23.2.3"
|
||||
ical.js: "npm:1.5.0"
|
||||
ics: "npm:2.37.0"
|
||||
ipaddr.js: "npm:2.3.0"
|
||||
jimp: "npm:0.16.1"
|
||||
lingo.dev: "npm:0.117.14"
|
||||
rrule: "npm:2.7.1"
|
||||
@@ -25484,6 +25485,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"ipaddr.js@npm:2.3.0":
|
||||
version: 2.3.0
|
||||
resolution: "ipaddr.js@npm:2.3.0"
|
||||
checksum: 10/be3d01bc2e20fc2dc5349b489ea40883954b816ce3e57aa48ad943d4e7c4ace501f28a7a15bde4b96b6b97d0fbb28d599ff2f87399f3cda7bd728889402eed3b
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"is-absolute@npm:^1.0.0":
|
||||
version: 1.0.0
|
||||
resolution: "is-absolute@npm:1.0.0"
|
||||
|
||||
Reference in new issue
Block a user