Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 41984a8

Browse files
committed
CPP: Fix more qhelp.
1 parent 78e56d9 commit 41984a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

csharp/ql/src/Security Features/CWE-091/XMLInjection.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ document representing a set of names. The <code>WriteRaw</code> API is used to w
2424
employee record to the XML file.</p>
2525
<sample src="XMLInjectionBad.cs" />
2626
<p>However, if a malicious user were to provide the content
27-
<code>Bobby Pages&lt;/name&gt;&lt;/employee&gt;&lt;employee&gt;&lt;name&gt;Hacker1</code></p>, they
27+
<code>Bobby Pages&lt;/name&gt;&lt;/employee&gt;&lt;employee&gt;&lt;name&gt;Hacker1</code>, they
2828
would be able to add an extra entry into the XML file.
2929
</p>
3030
<p>The corrected version demonstrates two ways to avoid this issue. The first is to escape user

0 commit comments

Comments
 (0)