CodeQL library for Java/Kotlin
codeql/java-all 1.1.2-dev (changelog, source)
Search

Predicate isXssSafeContentType

Holds if s is an HTTP Content-Type that is not vulnerable to XSS.

Import path

import semmle.code.java.security.XSS
predicate isXssSafeContentType(string s)