Closed
Description
Problem / motivation
See here for background.
The problem case: POST
requests that also have query string values in the URI.
Expected results
Request::$request
contains thePOST
data.Request::$query
contains the query string data.
Actual results
Since, in the case of POST
requests, the $parameters
parameter contains only the POST
data, the query string values will be missed unless they're included in $uri
(IOW, only the POST
data will be see by create()
).
Suggested fix
Request::create()
uses any query string values that are included the $uri
parameter when building its $query
values.
To fix the problem, add the query string to the $uri
when calling create()
.
Metadata
Metadata
Assignees
Labels
No labels