diff --git a/security/access_control.rst b/security/access_control.rst index 2bbedd6781b..0c6a4a58d42 100644 --- a/security/access_control.rst +++ b/security/access_control.rst @@ -191,10 +191,10 @@ pattern so that it is only accessible by requests from the local server itself: - + + 127.0.0.1 + ::1 + @@ -209,7 +209,7 @@ pattern so that it is only accessible by requests from the local server itself: array( 'path' => '^/internal', 'role' => 'IS_AUTHENTICATED_ANONYMOUSLY', - 'ips' => '127.0.0.1, ::1', + 'ips' => array('127.0.0.1', '::1'), ), array( 'path' => '^/internal', @@ -262,10 +262,19 @@ key: .. code-block:: xml - + + + + + - + + .. code-block:: php