-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query parameters with semicolon ignored #1111
Comments
@tommysitu could you please help here? |
I've pushed a fix now. However it's incompatible with some legacy code for converting query into a string which I need to clean up first. |
The reason it didn't work is because Actually there is an open issue here on the go project: golang/go#50034, however I can't find anything in the RFC that says semicolon is not allowed in the query param value. |
Description of the bug
Hoverfly can not handle sub-query parameters with a semicolon in it. It seems that this is ignored in this case. Probably because semicolon is a reserved character. But when we integrate with Here Geolocating we need to implement this in qq query-param.
Example:
13:42:46,697 | DEBUG | [main] | org.springframework.web.client.RestTemplate:127 | HTTP GET http://geocode.search.hereapi.com/v1/geocode?apiKey=someKey&lang=nl-BE&qq=country=BEL;postalCode=1234;city=SomeCity;street=SomeStreet;houseNumber=25%20a
Steps to reproduce the issue
Observed result
Hoverfly error messages seen (If none, say none)
If possible, add screenshots to help explain your problem
Expected result
Find a match for this input.
Additional relevant information
The text was updated successfully, but these errors were encountered: