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

Predicate Make::isConstantInvalidInsideOrigin

Holds if the given constant is unlikely to occur in the origin part of a URL.

Import path

import codeql.regex.HostnameRegexp
predicate isConstantInvalidInsideOrigin(RegExpConstant term)