CodeQL library for Swift
codeql/swift-all 2.0.4-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)