Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
3.13.0
-
None
-
None
-
Unknown
Description
Path parameter values in rest request are not url decoded before set as headers.
Example:
The operation GetUser has this path /users/{email}. Then sending a request to this endpoint with email=john.doe@acme.com (url encoded -> /users/john.doe%40acme.com) will result in a header email=john.doe%40acme.com instead of the expected email=john.doe@acme.com.
If email would have been a query parameter instead (/users?email=john.doe%40acme.com), the value of the header email would be 'john.doe@acme.com'