wiremock / wiremock/WireMock.Net
Bug: Path matching fails when the URL contains encoded parts
@StefH is already working on this.
Since Dec 22, 2025.
- Dominant language
- C#
- Stars
- 1.7k
- Forks
- 240
- Avg merge
- 5d 12h
- Merged PRs (30d)
- 2
Description
Describe the bug
It seems this issue is still there, also in ASP.NET Core?
https://github.com/wiremock/WireMock.Net/issues/178
When matching the url, escaped elements remain escaped, as expected (url/escapedchar%2Finpathsegment/restofurl
When matching the path, escaped elements are unescaped, as notexpected (url/escapedchar/inpathsegment/restofurl
This gives unconsistent behaviour when matching the url
Expected behavior:
Both path en url should not be unescaped before matching
Other related info
I found this issue, but it is not clear that this behaviour is still expected?
https://github.com/wiremock/WireMock.Net/issues/178
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.