Skip to content

Commit 77455c9

Browse files
committed
[symfony#2986] Fix thanks to @wouterj
1 parent 7f7d7a5 commit 77455c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/security/host_restriction.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ to a host using the ``host`` key:
6262
),
6363
));
6464
65-
The ``host`` (like the ``path``) is a regular expression. In this example,
65+
The ``host`` (like the ``pattern``) is a regular expression. In this example,
6666
the firewall will only be activated if the host is equal exactly (due to
6767
the ``^`` and ``$`` regex characters) to the hostname ``admin.example.com``.
6868
If the hostname does not match this pattern, the firewall will not be activated

0 commit comments

Comments
 (0)