diff --git a/src/webhooks/webhooks.ts b/src/webhooks/webhooks.ts index 2de9e1fae..bcb967d7a 100644 --- a/src/webhooks/webhooks.ts +++ b/src/webhooks/webhooks.ts @@ -136,6 +136,7 @@ export function getExpectedTwilioSignature( url: string, params: Record ): string { + url = new URL(url).toString(); if (url.indexOf("bodySHA256") !== -1 && params === null) { params = {}; }