Skip to content

Commit ba1a449

Browse files
Reference the new request_matcher option
Linked to symfony/symfony#44670
1 parent 122c5c2 commit ba1a449

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2117,7 +2117,7 @@ Prepending the path with ``^`` means that only URLs *beginning* with the
21172117
pattern are matched. For example, a path of ``/admin`` (without the ``^``)
21182118
would match ``/admin/foo`` but would also match URLs like ``/foo/admin``.
21192119

2120-
Each ``access_control`` can also match on IP address, hostname and HTTP methods.
2120+
Each ``access_control`` can also match on IP address, hostname and HTTP methods or be directly configured by passing a service implementing `RequestMatcherInterface` through the `request_matcher` option.
21212121
It can also be used to redirect a user to the ``https`` version of a URL pattern.
21222122
See :doc:`/security/access_control`.
21232123

0 commit comments

Comments
 (0)