Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[BrowserKit] Fixed Client->back/forward/reload() not keeping all requ…

…est attributes

The method used internally in these methods, Client->#requestFromRequest was badly
passing the old request parameters to the new request.
  • Loading branch information...
commit 091584f160fcbe1e6a84eb069f6f7f7179abb0e5 1 parent cf25af6
@clemherreman clemherreman authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Client.php
View
2  Client.php
@@ -484,6 +484,6 @@ protected function getAbsoluteUri($uri)
*/
protected function requestFromRequest(Request $request, $changeHistory = true)
{
- return $this->request($request->getMethod(), $request->getUri(), $request->getParameters(), array(), $request->getFiles(), $request->getServer(), $request->getContent(), $changeHistory);
+ return $this->request($request->getMethod(), $request->getUri(), $request->getParameters(), $request->getFiles(), $request->getServer(), $request->getContent(), $changeHistory);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.