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

Predicate Make::hasConsecutiveDots

Holds if seq contains two consecutive dots .. or escaped dots.

At least one of these dots is not intended to be a subdomain separator, so we avoid flagging the pattern in this case.

Import path

import codeql.regex.HostnameRegexp
predicate hasConsecutiveDots(RegExpSequence seq)