Module RegexpCheck
Provides an implementation of a commonly used barrier guard for sanitizing untrusted URLs.
Import path
import semmle.go.dataflow.barrierguardutil.RegexpCheckImports
| go | Provides classes for working with Go programs. |
Predicates
| regexpFunctionChecksExpr | Holds if |
Classes
| RegexpCheckBarrier | A call to a regexp match function, considered as a barrier guard for sanitizing untrusted URLs. |