Skip to content

Commit

Permalink
properly escape backslashes in class and method directives
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh authored and Christian Flothmann committed Jun 11, 2014
1 parent c042934 commit 6c4421b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion book/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down
2 changes: 1 addition & 1 deletion components/class_loader/psr4_class_loader.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6c4421b

Please sign in to comment.