mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
Store Mapping per POST request ignores "IgnoreCase" property of HeaderModel #545
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 @cal-schleupen on GitHub (Sep 26, 2023).
Originally assigned to: @StefH on GitHub.
Describe the bug
When storing a mapping via https://localhost:54544/__admin/mappings using the following request
the following mapping is persisted in the file mytest.json:
Expected behavior:
Expectation: The attribute "IgnoreCase": true of the HeaderModel is stored.
Test to reproduce
See above.
Other related info
The bug is located in class MappingConverter:
To me not as important this, the same problem exists with RejectOnMatch, which cannot be solved as easy as IgnoreCase.
@StefH commented on GitHub (Sep 26, 2023):
https://github.com/WireMock-Net/WireMock.Net/pull/1004
@StefH commented on GitHub (Sep 26, 2023):
Fixed
@cal-schleupen commented on GitHub (Sep 27, 2023):
Thanx a lot!
@StefH commented on GitHub (Sep 27, 2023):
New NuGet will be released later today