Update javascript/ql/src/Security/CWE-178/CaseSensitiveMiddlewarePath.ql

Co-authored-by: Erik Krogh Kristensen <erik-krogh@github.com>
This commit is contained in:
Napalys Klicius
2024-11-25 12:11:07 +01:00
committed by Napalys
parent e38b63ebcd
commit d6372aebc7
3 changed files with 2 additions and 3 deletions

View File

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