8000 [Routing] Remove note about automatic redirect · symfony/symfony-docs@14bf4f8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 14bf4f8

Browse files
author
Xavier Leune
committed
[Routing] Remove note about automatic redirect
1 parent 67f3845 commit 14bf4f8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

routing.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -770,12 +770,6 @@ Route path If the requested URL is ``/foo`` If the requested URL is ``
770770
``/foo/`` It makes a ``301`` redirect to ``/foo/`` It matches (``200`` status response)
771771
========== ======================================== ==========================================
772772

773 73C1 -
.. note::
774-
775-
If your application defines different routes for each path (``/foo`` and
776-
``/foo/``) this automatic redirection doesn't take place and the right
777-
route is always matched.
778-
779773
.. versionadded:: 4.1
780774
The automatic ``301`` redirection from ``/foo/`` to ``/foo`` was introduced
781775
in Symfony 4.1. In previous Symfony versions this results in a ``404`` response.

0 commit comments

Comments
 (0)
0