mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 13:00:33 +01:00
Bug: Path matching fails when the URL contains encoded parts #736
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @root79662 on GitHub (Dec 22, 2025).
Originally assigned to: @StefH on GitHub.
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/restofurlWhen matching the path, escaped elements are unescaped, as notexpected (
url/escapedchar/inpathsegment/restofurlThis 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