Skip to content

Commit 48553b7

Browse files
javiereguiluzxabbuh
authored andcommitted
Added a note about the new behavior of BrowserKit and redirects
1 parent f32a14c commit 48553b7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: testing.rst

+5
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,11 @@ The Client supports many operations that can be done in a real browser::
421421
// Clears all cookies and the history
422422
$client->restart();
423423

424+
.. versionadded:: 3.4
425+
Starting from Symfony 3.4, the ``back()`` and ``forward()`` methods skip the
426+
redirects that may have occurred when requesting a URL, as normal browsers
427+
do. In previous Symfony versions they weren't skipped.
428+
424429
Accessing Internal Objects
425430
~~~~~~~~~~~~~~~~~~~~~~~~~~
426431

0 commit comments

Comments
 (0)