CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.2.1-dev (changelog, source)
Search

Predicate Make::incompleteHostnameRegExp

Holds if regexp is a regular expression that is likely to match a hostname, but the pattern is incomplete and may match more hosts than intended.

Import path

import codeql.regex.HostnameRegexp
predicate incompleteHostnameRegExp(RegExpSequence hostSequence, string message, DataFlowNode aux, string label)