Skip to content

Commit c025089

Browse files
esbenamchammer01
andauthored
Apply suggestions from code review
Co-Authored-By: mc <[email protected]>
1 parent 0a8e371 commit c025089

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

javascript/ql/src/Security/CWE-116/IncompleteHtmlAttributeSanitization.qhelp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
Sanitizing untrusted input for HTML meta-characters is an important
1010
technique for preventing cross-site scripting attacks. Usually, this
1111
is done by escaping <code>&lt;</code>, <code>&gt;</code>,
12-
<code>&amp;</code> and <code>&quot;</code>. But the context in which
13-
the sanitized value is used decides which characters that actually
12+
<code>&amp;</code> and <code>&quot;</code>. However, the context in which
13+
the sanitized value is used decides the characters that
1414
need to be sanitized.
1515

1616
</p>
@@ -59,7 +59,7 @@
5959
<p>
6060

6161
Sanitizing the user-controlled data for
62-
<code>&quot;</code> prevents the vulnerability:
62+
<code>&quot;</code> helps prevent the vulnerability:
6363

6464
</p>
6565

0 commit comments

Comments
 (0)