Skip to content

Commit 408c49a

Browse files
Apply suggestions from code review
Co-Authored-By: Felicity Chapman <felicitymay@github.com>
1 parent 968c18d commit 408c49a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

java/ql/src/Security/CWE/CWE-90/LdapInjection.qhelp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,19 @@ the query cannot be changed by a malicious user.</p>
3434

3535
<sample src="LdapInjectionJndi.java" />
3636

37-
<p>The third example uses Spring LdapQueryBuilder to build LDAP query. In addition to
38-
simplifying building of complex search parameters, it also provides proper escaping of any
39-
unsafe characters in search filters. DN is built using LdapNameBuilder, which also provides
37+
<p>The third example uses Spring <code>LdapQueryBuilder</code> to build an LDAP query. In addition to
38+
simplifying the building of complex search parameters, it also provides proper escaping of any
39+
unsafe characters in search filters. The DN is built using <code>LdapNameBuilder</code>, which also provides
4040
proper escaping.</p>
4141

4242
<sample src="LdapInjectionSpring.java" />
4343

44-
<p>The fourth example uses UnboundID Filter and DN classes to construct safe filter and
44+
<p>The fourth example uses <code>UnboundID</code> classes, <code>Filter</code> and <code>DN</code>, to construct a safe filter and
4545
base DN.</p>
4646

4747
<sample src="LdapInjectionUnboundId.java" />
4848

49-
<p>The fifth example shows how to build safe filter and DN using Apache LDAP API.</p>
49+
<p>The fifth example shows how to build a safe filter and DN using the Apache LDAP API.</p>
5050

5151
<sample src="LdapInjectionApache.java" />
5252
</example>

0 commit comments

Comments
 (0)