Skip to content

Commit f03e90f

Browse files
committed
Remove http(s) literal sources
1 parent 839b88a commit f03e90f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/src/Security/CWE/CWE-094/ArbitraryAPKInstallation.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class ExternalApkSource extends DataFlow::Node {
6767
ExternalApkSource() {
6868
sourceNode(this, "android-external-storage-dir") or
6969
this.asExpr().(MethodAccess).getMethod() instanceof UriConstructorMethod or
70-
this.asExpr().(StringLiteral).getValue().matches(["file://%", "http://%", "https://%"])
70+
this.asExpr().(StringLiteral).getValue().matches("file://%")
7171
}
7272
}
7373

0 commit comments

Comments
 (0)