You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem case: POST requests that also have query string values in the URI.
Expected results
Request::$request contains the POST 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().
The text was updated successfully, but these errors were encountered:
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 thePOST
data, the query string values will be missed unless they're included in$uri
(IOW, only thePOST
data will be see bycreate()
).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 callingcreate()
.The text was updated successfully, but these errors were encountered: