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 7825a46 commit 5e8b1b0Copy full SHA for 5e8b1b0
javascript/ql/src/Security/CWE-020/MissingRegExpAnchor.ql
@@ -35,9 +35,7 @@ private module Impl implements
35
|
36
name = "replace"
37
or
38
- name = "match" and exists(mcn.getAPropertyRead())
39
- or
40
- name = "matchAll" and exists(mcn.getAPropertyRead())
+ name = ["match", "matchAll"] and exists(mcn.getAPropertyRead())
41
)
42
43
}
0 commit comments