Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[FrameworkBundle] Subrequests should always use GET method

  • Loading branch information...
commit c1206c33c2e627bfec236559de7b0eb4782b6a61 1 parent f11f7fc
@asm89 authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/Symfony/Bundle/FrameworkBundle/HttpKernel.php
View
1  src/Symfony/Bundle/FrameworkBundle/HttpKernel.php
@@ -140,6 +140,7 @@ public function render($controller, array $options = array())
$options['attributes']['_route'] = '_internal';
$subRequest = $request->duplicate($options['query'], null, $options['attributes']);
+ $subRequest->setMethod('GET');
}
$level = ob_get_level();
Please sign in to comment.
Something went wrong with that request. Please try again.