Skip to content

Commit 89b1743

Browse files
committed
Merge branch '6.0' into 6.1
* 6.0: Minor syntax issue Update security.rst [Mailer] Update mailer.rst Fixing link Typo Update filesystem.rst so backslash is displayed
2 parents 1139b0b + 588b375 commit 89b1743

File tree

5 files changed

+12
-3
lines changed

5 files changed

+12
-3
lines changed

components/filesystem.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ following rules iteratively until no further processing can be done:
336336

337337
- "." segments are removed;
338338
- ".." segments are resolved;
339-
- backslashes ("\") are converted into forward slashes ("/");
339+
- backslashes ("\\") are converted into forward slashes ("/");
340340
- root paths ("/" and "C:/") always terminate with a slash;
341341
- non-root paths never terminate with a slash;
342342
- schemes (such as "phar://") are kept;

mailer.rst

+1
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ and create an :class:`Symfony\\Component\\Mime\\Email` object::
286286
use Symfony\Component\HttpFoundation\Response;
287287
use Symfony\Component\Mailer\MailerInterface;
288288
use Symfony\Component\Mime\Email;
289+
use Symfony\Component\Routing\Annotation\Route;
289290

290291
class MailerController extends AbstractController
291292
{

reference/configuration/security.rst

+8
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,14 @@ URL and process the submitted login credentials.
248248
Be sure that this URL is covered by your main firewall (i.e. don't create
249249
a separate firewall just for ``check_path`` URL).
250250

251+
failure_path
252+
............
253+
254+
**type**: ``string`` **default**: ``/login``
255+
256+
This is the route or path that the user is redirected to after a failed login attempt.
257+
It can be a relative/absolute URL or a Symfony route name.
258+
251259
use_forward
252260
...........
253261

reference/forms/types/enum.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ EnumType Field
55
==============
66

77
A multi-purpose field used to allow the user to "choose" one or more options
8-
defined in a `PHP enumeration`_. It extends the :doc:`ChoiceType </reference/forms/types/enum>`
8+
defined in a `PHP enumeration`_. It extends the :doc:`ChoiceType </reference/forms/types/choice>`
99
field and defines the same options.
1010

1111
+---------------------------+----------------------------------------------------------------------+

security/voters.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ which makes creating a voter even easier::
5555

5656
.. tip::
5757

58-
Checking each voter several times can be time consumming for applications
58+
Checking each voter several times can be time consuming for applications
5959
that perform a lot of permission checks. To improve performance in those cases,
6060
you can make your voters implement the :class:`Symfony\\Component\\Security\\Core\\Authorization\\Voter\\CacheableVoterInterface`.
6161
This allows the access decision manager to remember the attribute and type

0 commit comments

Comments
 (0)