Skip to content

Commit 1aa8935

Browse files
committed
Merge branch '5.2' into 5.3
* 5.2: Fixing some typos
2 parents 022b086 + c6d45e7 commit 1aa8935

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

routing.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1427,11 +1427,11 @@ A possible solution is to change the parameter requirements to be more permissiv
14271427
14281428
.. note::
14291429

1430-
If the route defines several parameter and you apply this permissive
1430+
If the route defines several parameters and you apply this permissive
14311431
regular expression to all of them, you might get unexpected results. For
14321432
example, if the route definition is ``/share/{path}/{token}`` and both
1433-
``path`` and ``token`` accept ``/``. The ``token`` only get the last path
1434-
and the rest of the match is matched by the first argument (``path``).
1433+
``path`` and ``token`` accept ``/``, then ``token`` will only get the last part
1434+
and the rest is matched by ``path``.
14351435

14361436
.. note::
14371437

0 commit comments

Comments
 (0)