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

Predicate ReflectedXss::getAXssSafeHeaderDefinition

Gets a HeaderDefinition that defines a XSS safe content-type for send.

Import path

import semmle.javascript.security.dataflow.ReflectedXssCustomizations
HeaderDefinition getAXssSafeHeaderDefinition(ResponseSendArgument send)