8000 minor #12646 Update routing.rst (amine-betari) · symfony/symfony-docs@d2c6f01 · GitHub
[go: up one dir, main page]

Skip to content

Commit d2c6f01

Browse files
committed
minor #12646 Update routing.rst (amine-betari)
This PR was squashed before being merged into the 4.4 branch (closes #12646). Discussion ---------- Update routing.rst We suppose we have thie URL : http://127.0.0.1:8000/share/symfony//ezplatform/php/drupal/wordpess **path** => symfony/ezplatform/php/drupal **token** => wordpess Commits ------- 853a7b2 Update routing.rst
2 parents 755c0d4 + 853a7b2 commit d2c6f01

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

routing.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,10 +1100,9 @@ A possible solution is to change the parameter requirements to be more permissiv
11001100
.. note::
11011101

11021102
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
11041104
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``).
11071106

11081107
.. note::
11091108

0 commit comments

Comments
 (0)
0