Skip to content

Commit

Permalink
fix: url encoding for validateExpressRequest (#642)
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkingserious committed Jan 1, 2021
1 parent 10fa1ec commit c226431
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/webhooks/webhooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@ function validateExpressRequest(request, authToken, opts) {
});
if (request.originalUrl.search(/\?/) >= 0) {
webhookUrl = webhookUrl.replace(/%3F/g, '?');
webhookUrl = webhookUrl.replace(/%3A/g, ':');
webhookUrl = webhookUrl.replace(/%40/g, '@');
}

}
Expand Down

0 comments on commit c226431

Please sign in to comment.