We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb6ed97 commit 050affdCopy full SHA for 050affd
routing/slash_in_parameter.rst
@@ -85,7 +85,7 @@ That's it! Now, the ``{token}`` parameter can contain the ``/`` character.
85
use the ``.+`` requirement for the parameters that allow slashes. For example,
86
if the pattern is ``/share/{token}.{_format}`` and ``{token}`` allows any
87
character, the ``/share/foo/bar.json`` URL will consider ``foo/bar.json``
88
- as the token and the format will be empty. This can be solved replacing the
+ as the token and the format will be empty. This can be solved by replacing the
89
``.+`` requirement by ``[^.]+`` to allow any character except dots.
90
91
.. note::
0 commit comments