Skip to content

Commit ce1f0a3

Browse files
authored
Python: Minor fixup of qhelp for XPath injection
1 parent 424e88d commit ce1f0a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/ql/src/experimental/CWE-643/xpath.qhelp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
<example>
2222
<p>In the example below, the xpath query is controlled by the user and hence leads to a vulnerability.</p>
2323
<sample src="xpathBad.py" />
24-
</example>
2524
<p> This can be fixed by using a parameterized query as shown below.</p>
2625
<sample src="xpathGood.py" />
26+
</example>
2727
<references>
2828
<li>OWASP XPath injection : <a href="https://owasp.org/www-community/attacks/XPATH_Injection"></a>/>> </li>
2929
</references>
30-
</qhelp>
30+
</qhelp>

0 commit comments

Comments
 (0)