Skip to content

Commit

Permalink
Merge 74ab140 into cf95626
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodm committed Oct 20, 2014
2 parents cf95626 + 74ab140 commit d29004c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Action/RequestProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ protected function doForward($uri, \Symfony\Component\HttpFoundation\Request $re
$uri = $request->getUriForPath($uri);

// Consider using standard $_POST, $_FILES etc.
$subRequest = Request::create($uri, $request->getMethod(), $request->query->all(), $request->cookies->all(), $request->files->all(), $request->server->all());
$subRequest = Request::create($uri, $request->getMethod(), $request->getMethod() == 'POST' ? $request->request->all() : $request->query->all(), $request->cookies->all(), $request->files->all(), $request->server->all());
if ($request->getSession()) {
$subRequest->setSession($request->getSession());
}
Expand Down

0 comments on commit d29004c

Please sign in to comment.