File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,15 +5,15 @@ HTML Sanitizer
5
5
6
6
The HTML Sanitizer component was introduced in Symfony 6.1.
7
7
8
- The HTML Sanitizer components aims at sanitizing/cleaning untrusted HTML
8
+ The HTML Sanitizer component aims at sanitizing/cleaning untrusted HTML
9
9
code (e.g. created by a WYSIWYG editor in the browser) into HTML that can
10
10
be trusted. It is based on the `HTML Sanitizer W3C Standard Proposal `_.
11
11
12
12
The HTML sanitizer creates a new HTML structure from scratch, taking only
13
13
the elements and attributes that are allowed by configuration. This means
14
- that the returned HTML is very predicatable (it only contains allowed
14
+ that the returned HTML is very predictable (it only contains allowed
15
15
elements), but it does not work well with badly formatted input (e.g.
16
- invalid HTML). The sanitizer is targetted for two use- cases:
16
+ invalid HTML). The sanitizer is targeted for two use cases:
17
17
18
18
* Preventing security attacks based on XSS or other technologies relying on
19
19
execution of malicious code on the visitors browsers;
Original file line number Diff line number Diff line change @@ -911,7 +911,7 @@ be ``authenticate``:
911
911
912
912
.. code-block :: html+twig
913
913
914
- {# templates/security/ login.html.twig #}
914
+ {# templates/login/index .html.twig #}
915
915
916
916
{# ... #}
917
917
<form action="{{ path('login') }}" method="post">
You can’t perform that action at this time.
0 commit comments