Skip to content

Commit c836c4f

Browse files
committed
Java: Specify default value in WebView file access query
1 parent 710e012 commit c836c4f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

java/ql/src/Security/CWE/CWE-200/AndroidWebViewSettingsFileAccess.qhelp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
</overview>
1313

1414
<recommendation>
15-
<p>When possible, you should disallow file access by setting the following settings to <code>false</code>:</p>
15+
<p>When possible, you should not allow file access. The file access settings
16+
are disabled by default. You can explicitly disbale them by setting the
17+
following settings to <code>false</code>:</p>
1618

1719
<ul>
1820
<li><code>setAllowFileAccess</code></li>

0 commit comments

Comments
 (0)