mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 14:20:29 +01:00
Encoded url path parameter decoded via proxy #595
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 @adsk-duszykf on GitHub (May 3, 2024).
Originally assigned to: @StefH on GitHub.
Describe the bug
An encoded url parameter looks decoded by WireMock server. My code sends a request like :
POST http://localhost:4200/api/file%3Atest.pdfto Wiremock proxy server. The url is then transformed toPOST https://webservie.com/api/file:test.pdf. Here the url encoded parameterfile%3Atest.pdfis decoded and forwarded asfile:test.pdfwhich generate an error from the webserviceI
Expected behavior:
I expect that encoded url parameter are not decoded
Test to reproduce