File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -48,10 +48,9 @@ your autoloader to load the Routing component::
48
48
49
49
.. note ::
50
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 >`.
51
+ The :class: `Symfony\\ Component\\ Routing\\ RequestContext ` parameters can be populated
52
+ with the values stored in ``$_SERVER ``, but it's easier to use the HttpFoundation
53
+ component as explained :ref: `below <components-routing-http-foundation >`.
55
54
56
55
You can add as many routes as you like to a
57
56
:class: `Symfony\\ Component\\ Routing\\ RouteCollection `.
You can’t perform that action at this time.
0 commit comments