mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Python: Change Str to StringLiteral
As far as I can tell, this was the only occurrence of `Str` as a type throughout the entire library.
This commit is contained in:
@@ -113,7 +113,7 @@ module UnsafeShellCommandConstruction {
|
||||
|
||||
ArrayJoin() {
|
||||
call.getMethodName() = "join" and
|
||||
unique( | | call.getArg(_)).asExpr().(Str).getText() = " " and
|
||||
unique( | | call.getArg(_)).asExpr().(StringLiteral).getText() = " " and
|
||||
isUsedAsShellCommand(call, s) and
|
||||
(
|
||||
this = call.getArg(0) and
|
||||
|
||||
Reference in New Issue
Block a user