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

Skip to content

Commit cd75433

Browse files
committed
Fix qhelp examples extension
1 parent 82f47f8 commit cd75433

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

python/ql/src/experimental/Security/CWE-090/LDAPInjection.qhelp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ in the search filter and DN for the LDAP query.
2727
A malicious user could provide special characters to change the meaning of these
2828
components, and search for a completely different set of values.</p>
2929

30-
<sample src="examples/example_bad1.js" />
31-
<sample src="examples/example_bad2.js" />
30+
<sample src="examples/example_bad1.py" />
31+
<sample src="examples/example_bad2.py" />
3232

3333
<p>In the third and four example, the input provided by the user is sanitized before it is included in the search filter or DN.
3434
This ensures the meaning of the query cannot be changed by a malicious user.</p>
3535

36-
<sample src="examples/example_good1.js" />
37-
<sample src="examples/example_good2.js" />
36+
<sample src="examples/example_good1.py" />
37+
<sample src="examples/example_good2.py" />
3838
</example>
3939

4040
<references>

0 commit comments

Comments
 (0)