CodeQL library for JavaScript
Search

Predicate TaintedPath::isRelative

Holds if s is a relative path.

Import path

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