[PR #843] [MERGED] Webhook Templating: Use the transformed URL to create the HttpRequestMessage #1112

Closed
opened 2025-12-29 08:34:46 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/wiremock/WireMock.Net/pull/843
Author: @ggradnig
Created: 11/2/2022
Status: Merged
Merged: 11/5/2022
Merged by: @StefH

Base: masterHead: webhook-url-transformer-fix


📝 Commits (1)

  • 1459981 Webhook: Use the transformed URL to create the HttpRequestMessage

📊 Changes

2 files changed (+3 additions, -2 deletions)

View changed files

📝 src/WireMock.Net/Http/WebhookSender.cs (+1 -1)
📝 test/WireMock.Net.Tests/WireMockServer.WebhookTests.cs (+2 -1)

📄 Description

Tried to use this new feature at work, but it called the Webhook URL with the non-transformed URL. I've fixed the code and also fixed the test which was a false positive.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/wiremock/WireMock.Net/pull/843 **Author:** [@ggradnig](https://github.com/ggradnig) **Created:** 11/2/2022 **Status:** ✅ Merged **Merged:** 11/5/2022 **Merged by:** [@StefH](https://github.com/StefH) **Base:** `master` ← **Head:** `webhook-url-transformer-fix` --- ### 📝 Commits (1) - [`1459981`](https://github.com/wiremock/WireMock.Net/commit/1459981b880fa9b856429d084e3555692bcd9b58) Webhook: Use the transformed URL to create the HttpRequestMessage ### 📊 Changes **2 files changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/WireMock.Net/Http/WebhookSender.cs` (+1 -1) 📝 `test/WireMock.Net.Tests/WireMockServer.WebhookTests.cs` (+2 -1) </details> ### 📄 Description Tried to use this new feature at work, but it called the Webhook URL with the non-transformed URL. I've fixed the code and also fixed the test which was a false positive. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 08:34:46 +01:00
adam closed this issue 2025-12-29 08:34:46 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net#1112