Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b7a03f8

Browse filesBrowse 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
Copy full SHA for b7a03f8

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed

‎book/security.rst

Copy file name to clipboardExpand all lines: book/security.rst
+1-1Lines changed: 1 addition & 1 deletion
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

Copy file name to clipboardExpand all lines: components/class_loader/psr4_class_loader.rst
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.