[Bug]: Query parameters are getting parsed #7481
Labels
module/http
Reason/Invalid
Issue is invalid.
Team/PCM
Protocol connector packages related issues
Team/StandardLibs
Type/Bug
Description
When a http service is created with ballerina, the query params accepted to the resource functions are getting parsed when they have delimiters.
Steps to Reproduce
Run the following code with ballerina
2201.5.5
and issue the same request. Observe that the service is logging the query param as the first item in the comma-separated string.Expected behaviour: The ballerina service should accept the query params as they are.
Code
Request
curl --location 'localhost:9091/greeting?q=1%2C2'
Log output
Affected Version(s)
No response
OS, DB, other environment details and versions
No response
Related area
-> Standard Library
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: