We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3759158 commit 1e1e4c6Copy full SHA for 1e1e4c6
powershell/ql/lib/semmle/code/powershell/security/SqlInjectionCustomizations.qll
@@ -79,8 +79,7 @@ module SqlInjection {
79
override string getSinkType() { result = "call to Invoke-Sqlcmd" }
80
81
override predicate allowImplicitRead(DataFlow::ContentSet cs) {
82
- cs.getAStoreContent().(DataFlow::Content::KnownKeyContent).getIndex().asString().toLowerCase() =
83
- query()
+ cs.getAStoreContent().(DataFlow::Content::KnownKeyContent).getIndex().stringMatches(query())
84
}
85
86
0 commit comments