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