File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ The following constraint ensures that the ``rawPassword`` property of the
79
79
80
80
In order to make the password validation, this constraint doesn't send the raw
81
81
password value to the ``haveibeenpwned.com `` API. Instead, it follows a secure
82
- process known as `k-anonimity password validation `_.
82
+ process known as `k-anonymity password validation `_.
83
83
84
84
In practice, the raw password is hashed using SHA-1 and only the first bytes of
85
85
the hash are sent. Then, the ``haveibeenpwned.com `` API compares those bytes
@@ -130,4 +130,4 @@ publicly to consider it compromised. Think carefully before setting this option
130
130
to a higher value because it could decrease the security of your application.
131
131
132
132
.. _`haveibeenpwned.com` : https://haveibeenpwned.com/
133
- .. _`k-anonimity password validation` : https://blog.cloudflare.com/validating-leaked-passwords-with-k-anonymity/
133
+ .. _`k-anonymity password validation` : https://blog.cloudflare.com/validating-leaked-passwords-with-k-anonymity/
Original file line number Diff line number Diff line change @@ -2018,7 +2018,7 @@ Generating URLs in JavaScript
2018
2018
2019
2019
If your JavaScript code is included in a Twig template, you can use the
2020
2020
``path() `` and ``url() `` Twig functions to generate the URLs and store them in
2021
- JavaScript variables. The ``escape() `` function is needed to escape any
2021
+ JavaScript variables. The ``escape() `` filter is needed to escape any
2022
2022
non-JavaScript-safe values:
2023
2023
2024
2024
.. code-block :: html+twig
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ has this default logic::
45
45
// in the base Symfony\Component\Validator\Constraint class
46
46
public function validatedBy()
47
47
{
48
- return \get_class($this) .'Validator';
48
+ return static::class .'Validator';
49
49
}
50
50
51
51
In other words, if you create a custom ``Constraint `` (e.g. ``MyConstraint ``),
You can’t perform that action at this time.
0 commit comments