Skip to content

Commit eed2df0

Browse files
Fix qhelp & ql-for-ql errors
1 parent 414e0b2 commit eed2df0

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

java/ql/lib/semmle/code/java/security/WebviewDubuggingEnabledQuery.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ private predicate isDebugCheck(Expr ex) {
2222
)
2323
}
2424

25-
/** Configuration to find instances of `setWebContentDebuggingEnabled` called with `true` values. */
25+
/** A configuration to find instances of `setWebContentDebuggingEnabled` called with `true` values. */
2626
class WebviewDebugEnabledConfig extends DataFlow::Configuration {
2727
WebviewDebugEnabledConfig() { this = "WebviewDebugEnabledConfig" }
2828

java/ql/src/Security/CWE/CWE-489/WebviewDebuggingEnabled.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<p>The <code>WebView.setWebContentsDebuggingEnabled</code> method enables or disables the contents of any <code>WebView</code> in the application to be debugged.</p>
88

99
<p>Enabling debugging featues could allow for additional entry points or leaking sensitive information.
10-
As such, debugging should only be anabled during development, and disabled during production builds.
10+
As such, debugging should only be anabled during development, and disabled during production builds.</p>
1111
</overview>
1212
<recommendation>
1313
Ensure that debugging features are not enabled during production builds.

java/ql/src/Security/CWE/CWE-489/WebviewDebuggingEnabled.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
import java
1414
import semmle.code.java.security.WebviewDubuggingEnabledQuery
15-
import semmle.code.java.dataflow.DataFlow
1615
import DataFlow::PathGraph
1716

1817
from WebviewDebugEnabledConfig conf, DataFlow::PathNode source, DataFlow::PathNode sink

0 commit comments

Comments
 (0)