Skip to content

Commit

Permalink
Update javascript/ql/src/Security/CWE-178/CaseSensitiveMiddlewarePath.ql
Browse files Browse the repository at this point in the history
Co-authored-by: Erik Krogh Kristensen <[email protected]>
  • Loading branch information
Napalys and erik-krogh authored Nov 25, 2024
1 parent e38b63e commit ef0eb2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ predicate isCaseSensitiveMiddleware(
regexp.getAReference().flowsTo(arg) and
exists(string flags |
flags = regexp.tryGetFlags() and
not RegExp::isIgnoreCase(flags)
not RegExp::maybeIgnoreCase(flags)
)
)
}
Expand Down

0 comments on commit ef0eb2c

Please sign in to comment.