Skip to content

Commit e6ff81e

Browse files
committed
Add IP and ACL notation fixes
1 parent 2afd292 commit e6ff81e

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

cookbook/cache/varnish.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ that will invalidate the cache for a given resource:
137137
.port = "8080";
138138
}
139139
140-
// Acl's can contain IP's, subnets and hostnames
140+
// ACL's can contain IP's, subnets and hostnames
141141
acl purge {
142142
"localhost";
143143
"192.168.55.0"/24;
@@ -146,7 +146,7 @@ that will invalidate the cache for a given resource:
146146
sub vcl_recv {
147147
// Match PURGE request to avoid cache bypassing
148148
if (req.request == "PURGE") {
149-
// Match client IP to the acl
149+
// Match client IP to the ACL
150150
if (!client.ip ~ purge) {
151151
// Deny access
152152
error 405 "Not allowed.";

cookbook/profiler/matchers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Using the built-in Matcher
1616
Symfony2 provides a
1717
:class:`built-in matcher <Symfony\\Component\\HttpFoundation\\RequestMatcher>`
1818
which can match paths and IPs. For example, if you want to only show the
19-
profiler when accessing the page with the ``168.0.0.1`` ip, then you can
19+
profiler when accessing the page with the ``168.0.0.1`` IP, then you can
2020
use this configuration:
2121

2222
.. configuration-block::

cookbook/security/voters.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ which requires the following three methods:
3131
}
3232
3333
The ``supportsAttribute()`` method is used to check if the voter supports
34-
the given user attribute (i.e: a role, an acl, etc.).
34+
the given user attribute (i.e: a role, an ACL, etc.).
3535

3636
The ``supportsClass()`` method is used to check if the voter supports the
3737
current user token class.

reference/constraints/Ip.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ version
8383

8484
**type**: ``string`` **default**: ``4``
8585

86-
This determines exactly *how* the ip address is validated and can take one
86+
This determines exactly *how* the IP address is validated and can take one
8787
of a variety of different values:
8888

8989
**All ranges**

0 commit comments

Comments
 (0)