mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
Update javascript/ql/src/Security/CWE-020/MissingRegExpAnchor.ql
Co-authored-by: Erik Krogh Kristensen <erik-krogh@github.com>
This commit is contained in:
@@ -35,9 +35,7 @@ private module Impl implements
|
||||
|
|
||||
name = "replace"
|
||||
or
|
||||
name = "match" and exists(mcn.getAPropertyRead())
|
||||
or
|
||||
name = "matchAll" and exists(mcn.getAPropertyRead())
|
||||
name = ["match", "matchAll"] and exists(mcn.getAPropertyRead())
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user