mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Fix escaping.
This commit is contained in:
@@ -264,7 +264,7 @@ class ArtifactPoisoningSink extends DataFlow::Node {
|
||||
download.getAFollowingStep() = poisonable and
|
||||
// excluding artifacts downloaded to /tmp and runner.tmp
|
||||
not download.getPath().regexpMatch("^/tmp.*") and
|
||||
not download.getPath().regexpMatch("^\${{\s?runner.temp\s?}}.*") and
|
||||
not download.getPath().regexpMatch("^\\${{\\s?runner.temp\\s?}}.*") and
|
||||
(
|
||||
poisonable.(Run).getScript() = this.asExpr() and
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user