Update javascript/ql/src/Security/CWE-020/MissingRegExpAnchor.ql

Co-authored-by: Erik Krogh Kristensen <erik-krogh@github.com>
This commit is contained in:
Napalys Klicius
2024-11-05 10:29:22 +01:00
committed by GitHub
parent 7825a46085
commit 5e8b1b061f

View File

@@ -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())
)
)
}