mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01: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