Skip to content

Commit dcf251b

Browse files
Fixed typos in IgnoredHostnameVerification.qhelp
1 parent 2b33265 commit dcf251b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

java/ql/src/experimental/Security/CWE/CWE-297/IgnoredHostnameVerification.qhelp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,22 @@ if the method returns false.
2121

2222
<example>
2323
<p>
24-
In the following example, the method <code>HostnameVerifier.verify()</code> but its result is ignored.
24+
In the following example, the method <code>HostnameVerifier.verify()</code> is called but its result is ignored.
2525
As a result, no hostname verification actually happens.
2626
</p>
2727
<sample src="IgnoredHostnameVerification.java" />
2828

2929
<p>
3030
In the next example, the result of the <code>HostnameVerifier.verify()</code> method is checked
31-
and an exeption is thrown if it the verification failed.
31+
and an exeption is thrown if the verification failed.
3232
</p>
3333
<sample src="CheckedHostnameVerification.java" />
3434
</example>
3535

3636
<references>
3737
<li>
3838
Java API Specification:
39-
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/HostnameVerifier.html#verify(java.lang.String,javax.net.ssl.SSLSession)">HostnameVerifier.veify() method</a>.
39+
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/HostnameVerifier.html#verify(java.lang.String,javax.net.ssl.SSLSession)">HostnameVerifier.verify() method</a>.
4040
</li>
4141
</references>
42-
</qhelp>
42+
</qhelp>

0 commit comments

Comments
 (0)