bug #39708 [WebProfilerBundle] take query and request parameters into account when matching routes (xabbuh)
This PR was merged into the 4.4 branch.
Discussion
----------
[WebProfilerBundle] take query and request parameters into account when matching routes
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Fix #25206
| License | MIT
| Doc PR |
Commits
-------
28b6051f53
take query and request parameters into account when matching routes
This commit is contained in:
commit
e8d5d29c30
@ -92,7 +92,7 @@ class RouterController
|
||||
$traceRequest = Request::create(
|
||||
$request->getPathInfo(),
|
||||
$request->getRequestServer(true)->get('REQUEST_METHOD'),
|
||||
[],
|
||||
\in_array($request->getMethod(), ['DELETE', 'PATCH', 'POST', 'PUT'], true) ? $request->getRequestRequest()->all() : $request->getRequestQuery()->all(),
|
||||
$request->getRequestCookies(true)->all(),
|
||||
[],
|
||||
$request->getRequestServer(true)->all()
|
||||
|
Reference in New Issue
Block a user