Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.6.5 (changelog, source)

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)