We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 744cea9 commit 41fea77Copy full SHA for 41fea77
javascript/ql/lib/semmle/javascript/security/dataflow/ReflectedXssCustomizations.qll
@@ -97,6 +97,7 @@ module ReflectedXss {
97
// There is no dominating header, and `header` is non-local.
98
not isLocalHeaderDefinition(header) and
99
not exists(Http::HeaderDefinition dominatingHeader |
100
+ dominatingHeader.getAHeaderName() = "content-type" and
101
dominatingHeader.getBasicBlock().(ReachableBasicBlock).dominates(sender.getBasicBlock())
102
)
103
0 commit comments