You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support for comma-separated IP addresses was introduced in Symfony 5.2.
147
+
148
+
.. versionadded:: 6.1
149
+
150
+
Support for access control rule definition based on a RequestMatcher was introduced in Symfony 6.1.
135
151
136
152
For each incoming request, Symfony will decide which ``access_control``
137
153
to use based on the URI, the client's IP address, the incoming host name,
@@ -168,55 +184,7 @@ if ``ip``, ``port``, ``host`` or ``method`` are not specified for an entry, that
168
184
169
185
Matching the URI is done without ``$_GET`` parameters.
170
186
:ref:`Deny access in PHP code <security-securing-controller>` if you want
171
-
to disallow access based on ``$_GET`` parameter values.
172
-
173
-
.. versionadded:: 6.1
174
-
175
-
From verison 6.1 and up, if you have a custom request matcher, you can use the ``request_matcher`` option to specify the service reference to an access control item. Symfony will use this service as the request matcher for this item and won't take into account other matching options.
0 commit comments