Skip to content

Commit

Permalink
fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Tschinder committed Mar 15, 2014
1 parent 8f065bc commit b42e80f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cookbook/security/firewall_restriction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ restrict the initialization of a firewall against other options of the request.

.. note::

You can use any of this restrictions individually or mix them together to get
You can use any of these restrictions individually or mix them together to get
your desired firewall configuration.

Restricting by Pattern
Expand Down Expand Up @@ -132,15 +132,15 @@ If the hostname does not match this pattern, the firewall will not be activated
and subsequent firewalls will have the opportunity to be matched for this
request.

Restricting by Http Methods
Restricting by HTTP Methods
---------------------------

.. versionadded:: 2.5
Support for restricting security firewalls to specific http methods was introduced in
Support for restricting security firewalls to specific HTTP methods was introduced in
Symfony 2.5.

The configuration option ``methods`` restricts the initialization of the firewall to
the provided http methods.
the provided HTTP methods.

.. configuration-block::

Expand Down Expand Up @@ -187,7 +187,7 @@ the provided http methods.
),
));
In this example, the firewall will only be activated if the http method of the
In this example, the firewall will only be activated if the HTTP method of the
request is either ``GET`` or ``POST``. If the method is not in the array of the
allowed methods, the firewall will not be activated and subsequent firewalls will again
have the opportunity to be matched for this request.

0 comments on commit b42e80f

Please sign in to comment.