File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1098,10 +1098,9 @@ A possible solution is to change the parameter requirements to be more permissiv
1098
1098
.. note ::
1099
1099
1100
1100
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
1102
1102
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 ``).
1105
1104
1106
1105
.. note ::
1107
1106
You can’t perform that action at this time.
0 commit comments