CodeQL library for JavaScript
codeql/javascript-all 0.3.0-dev (changelog, source)
Search

Predicate ReflectedXss::getANonHtmlHeaderDefinition

Gets a HeaderDefinition that defines a non-html content-type for send.

Import path

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