CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.15-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)