Skip to content

Commit c92d9e9

Browse files
Reference the new request_matcher option
Linked to symfony/symfony#44670
1 parent d59e4be commit c92d9e9

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
@@ -2160,7 +2160,7 @@ Prepending the path with ``^`` means that only URLs *beginning* with the
21602160
pattern are matched. For example, a path of ``/admin`` (without the ``^``)
21612161
would match ``/admin/foo`` but would also match URLs like ``/foo/admin``.
21622162

2163-
Each ``access_control`` can also match on IP address, hostname and HTTP methods.
2163+
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.
21642164
It can also be used to redirect a user to the ``https`` version of a URL pattern.
21652165
See :doc:`/security/access_control`.
21662166

0 commit comments

Comments
 (0)