File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
javascript/ql/lib/semmle/javascript/security/dataflow Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,13 @@ module ReflectedXss {
25
25
* is to prevent us from flagging plain-text or JSON responses as vulnerable.
26
26
*/
27
27
class HttpResponseSink extends Sink instanceof Http:: ResponseSendArgument {
28
- HttpResponseSink ( ) { not exists ( getAXSSSafeHeaderDefinition ( this ) ) }
28
+ HttpResponseSink ( ) { not exists ( getAXssSafeHeaderDefinition ( this ) ) }
29
29
}
30
30
31
31
/**
32
32
* Gets a HeaderDefinition that defines a XSS safe content-type for `send`.
33
33
*/
34
- Http:: HeaderDefinition getAXSSSafeHeaderDefinition ( Http:: ResponseSendArgument send ) {
34
+ Http:: HeaderDefinition getAXssSafeHeaderDefinition ( Http:: ResponseSendArgument send ) {
35
35
exists ( Http:: RouteHandler h |
36
36
send .getRouteHandler ( ) = h and
37
37
result = xssSafeContentTypeHeader ( h )
You can’t perform that action at this time.
0 commit comments