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 {
2525 * is to prevent us from flagging plain-text or JSON responses as vulnerable.
2626 */
2727 class HttpResponseSink extends Sink instanceof Http:: ResponseSendArgument {
28- HttpResponseSink ( ) { not exists ( getAXSSSafeHeaderDefinition ( this ) ) }
28+ HttpResponseSink ( ) { not exists ( getAXssSafeHeaderDefinition ( this ) ) }
2929 }
3030
3131 /**
3232 * Gets a HeaderDefinition that defines a XSS safe content-type for `send`.
3333 */
34- Http:: HeaderDefinition getAXSSSafeHeaderDefinition ( Http:: ResponseSendArgument send ) {
34+ Http:: HeaderDefinition getAXssSafeHeaderDefinition ( Http:: ResponseSendArgument send ) {
3535 exists ( Http:: RouteHandler h |
3636 send .getRouteHandler ( ) = h and
3737 result = xssSafeContentTypeHeader ( h )
You can’t perform that action at this time.
0 commit comments