Skip to content

Commit

Permalink
minor #3937 properly escape backslashes in class and method directive…
Browse files Browse the repository at this point in the history
…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 b7a03f8
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 b7a03f8

Please sign in to comment.