[HttpKernel] fixed sub-request which should be always a GET (refs #3657)
This commit is contained in:
parent
0eddc4a507
commit
efa807aa7b
@ -74,6 +74,7 @@ class ExceptionListener
|
|||||||
);
|
);
|
||||||
|
|
||||||
$request = $request->duplicate(null, null, $attributes);
|
$request = $request->duplicate(null, null, $attributes);
|
||||||
|
$request->setMethod('GET');
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$response = $event->getKernel()->handle($request, HttpKernelInterface::SUB_REQUEST, true);
|
$response = $event->getKernel()->handle($request, HttpKernelInterface::SUB_REQUEST, true);
|
||||||
|
Reference in New Issue
Block a user