From 050affd9ddf25473195539a911efae78291105e5 Mon Sep 17 00:00:00 2001 From: Annas Atchia Date: Wed, 24 Jul 2019 22:27:19 +0400 Subject: [PATCH] Update spelling in slash_in_parameter.rst --- routing/slash_in_parameter.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routing/slash_in_parameter.rst b/routing/slash_in_parameter.rst index 4970cef2fa4..f3571cf01f1 100644 --- a/routing/slash_in_parameter.rst +++ b/routing/slash_in_parameter.rst @@ -85,7 +85,7 @@ That's it! Now, the ``{token}`` parameter can contain the ``/`` character. use the ``.+`` requirement for the parameters that allow slashes. For example, if the pattern is ``/share/{token}.{_format}`` and ``{token}`` allows any character, the ``/share/foo/bar.json`` URL will consider ``foo/bar.json`` - 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 ``.+`` requirement by ``[^.]+`` to allow any character except dots. .. note::