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