mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
add test and change-note to prototype-polution
This commit is contained in:
@@ -24,7 +24,7 @@ import semmle.javascript.DynamicPropertyAccess
|
||||
class SplitCall extends StringSplitCall {
|
||||
SplitCall() {
|
||||
getSeparator() = "." and
|
||||
getBaseString() instanceof ParameterNode
|
||||
getBaseString().getALocalSource() instanceof ParameterNode
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user