Skip to content

Commit b7a03f8

Browse files
committed
minor #3937 properly escape backslashes in class and method directives (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
2 parents c042934 + 6c4421b commit b7a03f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

book/security.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@ authorization from inside a controller::
11051105
The ``createAccessDeniedException`` method was introduced in Symfony 2.5.
11061106

11071107
The :method:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller::createAccessDeniedException`
1108-
method creates a special :class:`Symfony\\Component\\Security\\Core\Exception\\AccessDeniedException`
1108+
method creates a special :class:`Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException`
11091109
object, which ultimately triggers a 403 HTTP response inside Symfony.
11101110

11111111
Thanks to the SensioFrameworkExtraBundle, you can also secure your controller using annotations::

components/class_loader/psr4_class_loader.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ first need to configure the ``Psr4ClassLoader``:
5959
6060
First of all, the class loader is loaded manually using a ``require``
6161
statement, since there is no autoload mechanism yet. With the
62-
:method:`Symfony\Component\ClassLoader\Psr4ClassLoader::addPrefix` call, you
62+
:method:`Symfony\\Component\\ClassLoader\\Psr4ClassLoader::addPrefix` call, you
6363
tell the class loader where to look for classes with the
6464
``Symfony\Component\Yaml\`` namespace prefix. After registering the autoloader,
6565
the Yaml component is ready to be used.

0 commit comments

Comments
 (0)