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