diff --git a/components/routing/introduction.rst b/components/routing/introduction.rst index cd2477548c7..d901daa9558 100644 --- a/components/routing/introduction.rst +++ b/components/routing/introduction.rst @@ -48,10 +48,9 @@ your autoloader to load the Routing component:: .. note:: - Be careful when using ``$_SERVER['REQUEST_URI']``, as it may include - any query parameters on the URL, which will cause problems with route - matching. An easy way to solve this is to use the HttpFoundation component - as explained :ref:`below `. + 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 `. You can add as many routes as you like to a :class:`Symfony\\Component\\Routing\\RouteCollection`.