Skip to content

Commit 526b146

Browse files
authored
Update routing.rst
1 parent 1cfe0e2 commit 526b146

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

routing.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,8 +1100,7 @@ A possible solution is to change the parameter requirements to be more permissiv
11001100
If the route defines several parameter and you apply this permissive
11011101
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 ``token`` will contain its contents. ``token`` will not 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)