Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 799bc9e

Browse filesBrowse files
committed
take query and request parameters into account when matching routes
1 parent 0304f75 commit 799bc9e
Copy full SHA for 799bc9e

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Bundle/WebProfilerBundle/Controller/RouterController.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/WebProfilerBundle/Controller/RouterController.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ private function getTraces(RequestDataCollector $request, string $method): array
9292
$traceRequest = Request::create(
9393
$request->getPathInfo(),
9494
$request->getRequestServer(true)->get('REQUEST_METHOD'),
95-
[],
95+
in_array($request->getMethod(), ['DELETE', 'PATCH', 'POST', 'PUT'], true) ? $request->getRequestRequest()->all() : $request->getRequestQuery()->all(),
9696
$request->getRequestCookies(true)->all(),
9797
[],
9898
$request->getRequestServer(true)->all()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.