CodeQL library for Python
codeql/python-all 1.0.1 (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)