File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
java/ql/src/experimental/Security/CWE/CWE-297 Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,22 +21,22 @@ if the method returns false.
21
21
22
22
<example >
23
23
<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.
25
25
As a result, no hostname verification actually happens.
26
26
</p >
27
27
<sample src =" IgnoredHostnameVerification.java" />
28
28
29
29
<p >
30
30
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.
32
32
</p >
33
33
<sample src =" CheckedHostnameVerification.java" />
34
34
</example >
35
35
36
36
<references >
37
37
<li >
38
38
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 >.
40
40
</li >
41
41
</references >
42
- </qhelp >
42
+ </qhelp >
You can’t perform that action at this time.
0 commit comments