Skip to content

Commit c06ccf9

Browse files
javiereguiluzweaverryan
authored andcommitted
Update service_container_parameters.rst
1 parent 3bc15b7 commit c06ccf9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cookbook/routing/service_container_parameters.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,7 @@ path):
119119
Just like in normal service container configuration files, if you actually
120120
need a ``%`` in your route, you can escape the percent sign by doubling
121121
it, e.g. ``/score-50%%``, which would resolve to ``/score-50%``.
122+
123+
However, as the ``%`` characters included in any URL are automatically encoded,
124+
the resulting URL of this example would be ``/score-50%25`` (``%25`` is the
125+
result of encoding the ``%`` character).

0 commit comments

Comments
 (0)