Remove http(s) literal sources

This commit is contained in:
Ed Minnix
2023-01-25 12:11:26 -05:00
parent 839b88a4bc
commit f03e90f894

View File

@@ -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://%")
}
}