Permalink
Browse files

minor #3937 properly escape backslashes in class and method directive…

…s (xabbuh)

This PR was merged into the 2.5 branch.

Discussion
----------

properly escape backslashes in class and method directives

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.5+
| Fixed tickets |

Commits
-------

6c4421b properly escape backslashes in class and method directives
  • Loading branch information...
weaverryan committed Jun 13, 2014
2 parents c042934 + 6c4421b commit b7a03f85e24b2d04faa832de151c5f02d9e864ba
Showing with 2 additions and 2 deletions.
  1. +1 −1 book/security.rst
  2. +1 −1 components/class_loader/psr4_class_loader.rst
@@ -1105,7 +1105,7 @@ authorization from inside a controller::
The ``createAccessDeniedException`` method was introduced in Symfony 2.5.
The :method:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller::createAccessDeniedException`
method creates a special :class:`Symfony\\Component\\Security\\Core\Exception\\AccessDeniedException`
method creates a special :class:`Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException`
object, which ultimately triggers a 403 HTTP response inside Symfony.
Thanks to the SensioFrameworkExtraBundle, you can also secure your controller using annotations::
@@ -59,7 +59,7 @@ first need to configure the ``Psr4ClassLoader``:
First of all, the class loader is loaded manually using a ``require``
statement, since there is no autoload mechanism yet. With the
:method:`Symfony\Component\ClassLoader\Psr4ClassLoader::addPrefix` call, you
:method:`Symfony\\Component\\ClassLoader\\Psr4ClassLoader::addPrefix` call, you
tell the class loader where to look for classes with the
``Symfony\Component\Yaml\`` namespace prefix. After registering the autoloader,
the Yaml component is ready to be used.

0 comments on commit b7a03f8

Please sign in to comment.