mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Java: Fix QHelp & accept test output
Accept test output for changed alert message.
This commit is contained in:
@@ -11,9 +11,11 @@ Versions smaller than 6.24 by default ignore any HTTPS certificate errors thereb
|
||||
|
||||
<recommendation>
|
||||
<p>Do either of these:
|
||||
<li>Update to version 6.24 or 7.x.x as these correctly reject certificate errors by default.</li>
|
||||
<li>Add a custom implementation of the <code>LoadHandler</code> interface whose <code>onCertificateError</code> method always returns <b>true</b> indicating that loading should be cancelled.
|
||||
Then use the <code>setLoadHandler</code> method with your custom <code>LoadHandler</code> on every <code>Browser</code> you use.</li>
|
||||
<ul>
|
||||
<li>Update to version 6.24 or 7.x.x as these correctly reject certificate errors by default.</li>
|
||||
<li>Add a custom implementation of the <code>LoadHandler</code> interface whose <code>onCertificateError</code> method always returns <b>true</b> indicating that loading should be cancelled.
|
||||
Then use the <code>setLoadHandler</code> method with your custom <code>LoadHandler</code> on every <code>Browser</code> you use.</li>
|
||||
</ul>
|
||||
</p>
|
||||
</recommendation>
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
| JxBrowserWithoutCertValidationV6_23_1.java:17:27:17:39 | new Browser(...) | This JxBrowser instance allows man-in-the-middle attacks. |
|
||||
| JxBrowserWithoutCertValidationV6_23_1.java:17:27:17:39 | new Browser(...) | This JxBrowser instance may not check HTTPS certificates. |
|
||||
|
||||
Reference in New Issue
Block a user