-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api: Enable local IP verification on webhooks (#2118)
* api: Enable URL verification on webhooks * api: Simplify the isLocal checks * api: Fix log * api: Skip URL verification on tests * api: Resolve both IPv4 and IPv6 * api: Consider local if any record is local Otherwise you could create a domain that resolves both to a public and a private IP and we would allow it to passthrough.
- Loading branch information
Showing
2 changed files
with
23 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters