mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 22:30:41 +01:00
[PR #316] [MERGED] Handles case where parameter value contains == #852
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?
📋 Pull Request Information
Original PR: https://github.com/wiremock/WireMock.Net/pull/316
Author: @lobsteropteryx
Created: 8/13/2019
Status: ✅ Merged
Merged: 8/14/2019
Merged by: @StefH
Base:
master← Head:fix-double-equals-when-parsing-querystring📝 Commits (1)
cafeaf4Handles case where parameter value contains ==📊 Changes
2 files changed (+15 additions, -6 deletions)
View changed files
📝
src/WireMock.Net/Util/QueryStringParser.cs(+1 -6)📝
test/WireMock.Net.Tests/Util/QueryStringParserTests.cs(+14 -0)📄 Description
This is a fix for #287; querystring parameters that contain
==in their value were not being properly parsed, i.e.,?key=value==something.The fix here limits splitting each querystring parameter to the first
=in the string.I don't see any contributing guidelines, so I'm happy to make changes if need be. Thank you for a great tool!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.