mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
Update javascript/ql/src/Security/CWE-178/CaseSensitiveMiddlewarePath.ql
Co-authored-by: Erik Krogh Kristensen <erik-krogh@github.com>
This commit is contained in:
@@ -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)
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user