Skip to content

Commit 0328087

Browse files
Update cross-site-scripting.md (#19861)
1 parent 28cceb1 commit 0328087

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

aspnetcore/security/cross-site-scripting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ The preceding markup generates the following HTML:
117117
injectedData.dataset.untrustedinput;
118118
119119
// Put the injected, untrusted data into the scriptedWrite div tag.
120-
// Do NOT use document.write() on dynamically generated data as it can
121-
// lead to XSS.
120+
// Do NOT use document.write() on dynamically generated data as it can
121+
// lead to XSS.
122122
123123
document.getElementById("scriptedWrite").innerText += clientSideUntrustedInputOldStyle;
124124

0 commit comments

Comments
 (0)