Skip to content

Commit 0c18e62

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: [#12646] Minor sentence and standard fix Update routing.rst
2 parents 50236f8 + 35ed391 commit 0c18e62

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
@@ -1091,10 +1091,10 @@ A possible solution is to change the parameter requirements to be more permissiv
10911091
.. note::
10921092

10931093
If the route defines several parameter and you apply this permissive
1094-
regular expression to all of them, the results won't be the expected. For
1094+
regular expression to all of them, you might get unexpected results. For
10951095
example, if the route definition is ``/share/{path}/{token}`` and both
1096-
``path`` and ``token`` accept ``/``, then ``path`` will contain its contents
1097-
and the token, and ``token`` will be empty.
1096+
``path`` and ``token`` accept ``/``. The ``token`` only get the last path
1097+
and the rest of the match is matched by the first argument (``path``).
10981098

10991099
.. note::
11001100

0 commit comments

Comments
 (0)