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

Predicate TaintedPath::isRelative

Holds if s is a relative path.

Import path

import semmle.javascript.security.dataflow.TaintedPathCustomizations
predicate isRelative(string s)