CodeQL library for Java
codeql/java-all 0.3.2 (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)