We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 404ed93 commit 36234f2Copy full SHA for 36234f2
components/routing/introduction.rst
@@ -48,10 +48,9 @@ your autoloader to load the Routing component::
48
49
.. note::
50
51
- Be careful when using ``$_SERVER['REQUEST_URI']``, as it may include
52
- any query parameters on the URL, which will cause problems with route
53
- matching. An easy way to solve this is to use the HttpFoundation component
54
- as explained :ref:`below <components-routing-http-foundation>`.
+ The :class:`Symfony\\Component\\Routing\\RequestContext` parameters can be populated
+ with the values stored in ``$_SERVER``, but it's easier to use the HttpFoundation
+ component as explained :ref:`below <components-routing-http-foundation>`.
55
56
You can add as many routes as you like to a
57
:class:`Symfony\\Component\\Routing\\RouteCollection`.
0 commit comments