mirror of
https://github.com/github/codeql.git
synced 2026-04-24 00:05:14 +02:00
Remove http(s) literal sources
This commit is contained in:
@@ -67,7 +67,7 @@ class ExternalApkSource extends DataFlow::Node {
|
||||
ExternalApkSource() {
|
||||
sourceNode(this, "android-external-storage-dir") or
|
||||
this.asExpr().(MethodAccess).getMethod() instanceof UriConstructorMethod or
|
||||
this.asExpr().(StringLiteral).getValue().matches(["file://%", "http://%", "https://%"])
|
||||
this.asExpr().(StringLiteral).getValue().matches("file://%")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user