Skip to content

Commit 853a7b2

Browse files
amine-betariwouterj
authored andcommitted
Update routing.rst
1 parent d3f812f commit 853a7b2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

routing.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,10 +1098,9 @@ A possible solution is to change the parameter requirements to be more permissiv
10981098
.. note::
10991099

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

11061105
.. note::
11071106

0 commit comments

Comments
 (0)