Skip to content

Commit 78229bb

Browse files
committed
Moved into experimental
1 parent bbb1ee9 commit 78229bb

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

javascript/ql/src/Security/CWE-444/InsecureHttpParser.ql renamed to javascript/ql/src/experimental/Security/CWE-444/InsecureHttpParser.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ where
2727
exists(DataFlow::SourceNode env |
2828
env = NodeJSLib::process().getAPropertyRead("env") and
2929
disable = env.getAPropertyWrite("NODE_OPTIONS") and
30-
disable.getRhs().getStringValue().regexpMatch(".*--insecure-http-parser.*")
30+
disable.getRhs().getStringValue().matches("%--insecure-http-parser%")
3131
)
3232
or
3333
(

0 commit comments

Comments
 (0)