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 @@ -1100,10 +1100,9 @@ A possible solution is to change the parameter requirements to be more permissiv
1100
1100
.. note ::
1101
1101
1102
1102
If the route defines several parameter and you apply this permissive
1103
- regular expression to all of them, the results won't be the expected . For
1103
+ regular expression to all of them. For
1104
1104
example, if the route definition is ``/share/{path}/{token} `` and both
1105
- ``path `` and ``token `` accept ``/ ``, then ``path `` will contain its contents
1106
- and the token, and ``token `` will be empty.
1105
+ ``path `` and ``token `` accept ``/ ``. The ``token `` only get the last path and the rest of the match is matched by the first argument (``path ``).
1107
1106
1108
1107
.. note ::
1109
1108
You can’t perform that action at this time.
0 commit comments